FAQ: How can I provide printing for my class Fred? ←(in the new Super-FAQ)
It's in Section: Input/output via <iostream> and <cstdio>:
- FAQ: Advantages of <iostream> over <cstdio>?
- FAQ: Understanding infinite loop when the input is invalid?
- FAQ: How can I get std::cin to skip invalid input characters?
- FAQ: How does that funky while (std::cin >> foo) syntax work?
- FAQ: Why does my input seem to process past the end of file?
- FAQ: Why is my program ignoring my input request after the first iteration?
- FAQ: Should I end my output lines with std::endl or '\n'?
- FAQ: How can I provide printing for my class Fred? (this FAQ)
- FAQ: Using a printOn() method vs. a friend function?
- FAQ: How can I provide input for my class Fred?
- FAQ: Providing printing for an entire hierarchy of classes?
- FAQ: How can I open a stream in binary mode?
- FAQ: "Reopening" std::cin and std::cout in binary mode?
- FAQ: How can I write/read objects of my class to/from a data file?
- FAQ: Sending objects over a network?
- FAQ: Backslashes in filenames?
- FAQ: How to capture key presses before the ENTER key?
- FAQ: How to turn off screen echo on keyboard input?
- FAQ: How can I move the cursor around on the screen?
- FAQ: How can I clear the screen?
- FAQ: How can I change the colors on the screen?
- FAQ: How can I print the numeric value of a char or char*?