• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Error compiling DLL
Hi, I'm having a constant error in my DLL regarding one simple function: I get the error: do...
[3 replies] Last: have a google of "differs in levels of indirection from 'double (doubl... (by mutexe)
Functions does not return new value..
New to this site! In my program below, in the getage and get level functions, if an incorrect input...
[5 replies] Last: how do I get another input? Use a loop in main. int main() ... (by AbstractionAnon)
Bubble Sorting
I having a bit of an issue with this bit of code below #include "stdafx.h" #include <iostream...
[2 replies] Last: Also, just as a side note, avoid using 'system' commands. They are nei... (by abhishekm71)
by Mats
I'm trying to find vertical paths of length n through a 2D grid of numbers. Paths may connect orthog...
[6 replies] Last: Let me guess: each element on a "path" must have same value? In your ... (by keskiverto)
by judo11
How to stop the input process when I input five negative integer?
int a ,x; for(x=0; x<20; x++) { cout<<"Enter integer: "; cin>>a ; while(a...
[5 replies] Last: No this is not about students. Sure. But the suggestion was that you... (by Chervil)
by Anns
Void pointer
Hi, I have a query regarding void pointer. Can any explain what happen when below snippet runs. ...
[1 reply] : s this the corret way to do. In void fun i have no idea about which d... (by cire)
by hobo
Keep the rhythm with the count
#include "stdafx.h" #include <iostream> #include <cmath> using namespace std; int _tmain(in...
[3 replies] Last: I see what's it. And refer to what Chervil said, Maybe you should u... (by lsk)
Problem about getting the number greater than the average
#include<iostream> using namespace std; int main() { int k,num,sum=0,GreaterNO=0; double average;...
[8 replies] Last: Get the point dy, thx alot (by ryushin)
writing a code for non-English speakers
Hello guys. I want to know how to setup and enable unicode for a program I wish to write for non-Eng...
[1 reply] : Is it a command line program or a GUI program? (by Peter87)
Testing auto feature on C++11
Hi friends, Am trying to test this new 'auto' feature on C++11 version. Here is my problem: ...
[5 replies] Last: haha ic, thanks Peter :) (by sansoftaus)
Multi Tasking
Windows can keep track of multiple programs at once. How can you emulate something like this in C++?...
[4 replies] Last: Bah, you win. It sounds like it's pretty complicated to do though and ... (by RealGiganitris)
by gudeh
Sites communication, Sockets and Win32 API
Hi there, I saw a post here from 2008 where a guy asked: "how to get data from internet?".(http://ww...
[1 reply] : Should I use sockets or this thing about API? Use sockets. But you d... (by kbw)
Newbie, in need of help.
Hey everyone. I know alot of you guys don't like giving direct answers, and that's perfectly ok. If ...
[7 replies] Last: yep, that's it. Sorry if I used wrong word, stuck from lib's file name... (by lsk)
by snigg2
Int, long int, and string
I have a simple question that im not sure of. When do we know when to use int, long int, and string....
[2 replies] Last: http://www.cplusplus.com/forum/beginner/110492/#msg603267 (by JLBorges)
by Niven
A* Search keeps crashing
I'm attempting to implement A* search in one of my programs, but everytime I run it, it crashes. Rel...
[3 replies] Last: > the queue would end up holding enough data that the stack ran out of... (by ne555)
Access Reading Violation
Im working on a BST homework, and I have been doing alright, but I keep running into this error that...
[3 replies] Last: My code is quite large. It's actually why I shrunk it down. But I will... (by Bonster)
for loop help
I have this for loop that does this: let say n = 8 and node = 4 n: id: 0 1 2 3 0 ...
[1 reply] : I don't know how to explain it =..=. So is this what you want? #in... (by lsk)
Calculate variance in C++?
I am using the valarray function to take the numbers in myarray, and subtract them from the mean to ...
[1 reply] : Why can't you just myarray -= mean; ? Then print it, and then use it ... (by Duoas)
by judo11
How to count the students who got the highest and lowest score?
I can display the highest and lowest score but I can't display the number of students who got the hi...
[1 reply] : Make up your mind, try to always think what task each variable does, ... (by lsk)
Pages: 123... 41
  Archived months: [may2014]