Hello. What does endl mean:

 std::cout << "Таблица информации" << std::endl; 

    4 answers 4

    It is important to note that std::endl not only inserts a newline character. You can insert '\ n' , or '\ r \ n' , but the line output will occur only at the end of the block (program) or when flushing the buffer.

    std::endl forcibly clears the output buffer , and the string is output immediately after this command.

    • 2
      Only not at overflow, but when filling. - skegg
     ostream& endl ( ostream& os ); 

    Inserts a newline character in this case after the text.

      End of line. The special symbol "\n" can also be used. For example, cout<<"ПРИМЕР!\nТаблица информации"; will print "EXAMPLE" on one line, and "Information table" on a new line.

        With onsole OUT << [i. On her] "TEXT" << ENDL ine