General C++ Programming (Page 7)

New! Join the C++ community on Google+
Input issues from a text file
 
Hi, recently I've been working on developing source code to run the famous John Conway's Game of Lif...
[1 reply] : You need to go through your while (loop) and add {} after each for and... (by SamuelAdams)
by tsc
Rapid XML how to get line number
 
i'm currently using rapid XML, Does anyone knows how to get line number in the file from this par...
[no replies]
Threading.
 
I found these two OSS sites which help simplify the complexities of threading in C++ and C. You s...
[no replies]
Output is Incorrect
 
The output is either a 0 or a 1. Never outputs the correct answer, which is suppose to be the standa...
[1 reply] : You're passing score1 , score2 , score3 and score4 into input ... (by MikeyBoy)
Error Message
 
Hey there codies, I need some help understanding my error message. Here's the code: #include <...
[1 reply] : On line 52, you declare a local variable money , which is an array of... (by MikeyBoy)
code errors
 
need some help with my code, eyes are getting crossed any help is appreceated ifndef H_listType #...
[5 replies] Last: If you actually read your compiler errors, paying attention to the lin... (by MikeyBoy)
How to get classes to work with each other
 
This is for my final project. The last chapter we have read is an introductory to classes. Instruc...
[6 replies] Last: really think I'm making this too hard, because we haven't gotten to ... (by MikeyBoy)
Evaluate the expression
 
I don't understand this: evaluate the following expressions: a=18 % 16 | 5 & 8; b=18 | 16 % 5 | 8...
[1 reply] : The % , & and | symbols are operators. Look them up in whatever ... (by MikeyBoy)
Exiting a loop too soon
 
Information: the function is supposed to print out multiple "sets" of users. Think of it as separate...
[2 replies] Last: should if (queue.size()) current = queue ; Users .checked = true; ... (by Moooce)
pls help wit this c++ formula
 
A model to estimate the number of grams of a radioactive isotope left aftert years is given by this ...
[no replies]
by jkfde
Array Help
 
I need to have the user enter five numbers and check to make sure none of them are the same. Here is...
[3 replies] Last: just give u some concept. think over your self int number ; int i; ... (by Felicia123)
Interest rates.
 
Trying to write a program to calculate interest due. If the persons balance is below £1000 the inte...
[5 replies] Last: edited. just add a == inside the if interestRate == 0.02 sometime t... (by Felicia123)
ANY one worked on A project and knows how to start one in codeblocks with Graphics?
 
ANY one worked on A project and knows how to start one in codeblocks with Graphics? cause i want to ...
[5 replies] Last: alright, I am not sure what the BGI library is, but if you followed th... (by Jayhawker07)
linear search
 
i am beginner in c++ can i know how to make a linear search for an ordered list to find out small an...
[no replies]
Last record is repeated two times
 
I am working with binary file in c++. I can write in the file but when i displaying the file content...
[1 reply] : > what is the problem. Guess: you are doing something like: while( ... (by JLBorges)
retrieving list of integers from file
 
i Have created file with 50000 integers of list now i need to retrieve the list can any body help m...
[2 replies] Last: Thank you :) (by kavi123)
by smelas
vectors, arrays
 
elements of the array: 1,2,4,10,12,14 array_size = 6 I want to find the max width between each nu...
[no replies]
php logic
 
hi, can i practice logic in programming, using php? or is it better to practice some exercises to de...
[no replies]
Read 2d array from txt file
 
Hello. I have a problem. I have a huge txt file - 10.4 MB (13316 lines by 75 columns) that I have ...
[8 replies] Last: I'd recommend using a debugger, so that you can see what values R , ... (by MikeyBoy)
Inhert from two diffrent files?
 
Is it possible to Inhert this class from my ObjectH.h file into my other header file's or cpp file? ...
[3 replies] Last: // Object.h #ifndef OBJ_H #define OBJ_H class Object { . . . }; #... (by TTT)
Pages: 1... 56789... 76
  Archived months: [oct2012]

Cannot post in this page. To post a new message, go to the first page.