I've been programming in C for over twenty years, and C++ for nearly as long. They've both become different languages since I started using them.
Quote:
|
In current C standard output libraries [ #include ], you usually just specify a newline '\n' and the appropriate sequence is automagicly written to the output.
|
There's also fflush(stdout) if you want to be sure that part of a line makes it to the terminal. Printing a '\n' automatically flushes the output.