Writing the value of std::endl to output stream have two function:
First: Ends the line of output.
Second: Flushes the buffer, which forces the system to write to the output stream immediately.
Writing the value of std::endl to output stream have two function:
First: Ends the line of output.
Second: Flushes the buffer, which forces the system to write to the output stream immediately.
© 著作权归作者所有