User profile: PrivateRyan

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

<istream> input with both cin and getline
I had no idea [code]std::ws[/code] existed. This solves my problem. Thank you!

<istream> input with both cin and getline
Hey everyone! I have a member friend function that receives an istream and reads values from it int...

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...