User profile: PrivateRyan

User info
User name:PrivateRyan
History
Joined:
Number of posts:54
Latest posts:

advanced random number generator help
a while loop would be more fitting than a for loop, given the logic of the program. Increment guessn...

heap corruption
in your [code]push_back[/code] function, you check to see if size is greater than capacity. Consider...

save variables
It sounds like you want to write the information to a file before closing your program. There are pr...

memory mapping
[s]So you want to read a file into memory and assign pointers to addresses in memory?[/s]

Loading int from file.
You are using getline incorrectly http://www.cplusplus.com/reference/string/string/getline/