setprecisioniomanip.h setfiomanip.h endl endlmanipulator is used to Terminate a line and flushes the buffer. Difference b/w '\n' and endl When writing output in C++,you can use either std::endl or '\n' to produce a newline, but each has a different effect. ...