(Click here for a personal note from Marshall Cline.)
/ FAQ 15.15
Understanding infinite loop when the input is invalid?
How can I get
to skip invalid input characters?
How does that funky
while (std::cin >> foo)
Why does my input seem to process past the end of file?
Why is my program ignoring my input request after the first iteration?
Should I end my output lines with
How can I provide printing for my
method vs. a
How can I provide input for my
Providing printing for an entire hierarchy of classes?
How can I open a stream in binary mode?
in binary mode?
How can I write/read objects of my class to/from a data file?
Sending objects over a network?
Backslashes in filenames?
How to capture key presses before the ENTER key?
How to turn off screen echo on keyboard input?
How can I move the cursor around on the screen?
How can I clear the screen?
How can I change the colors on the screen?
How can I print the numeric value of a
E-mail the author
About the author
Revised Jul 4, 2012
[15.15] How can I send objects of my class to another computer (e.g., via a socket, TCP/IP, FTP, email, a wireless link, etc.)?
Read the section on