Mega Code Archive

 
Categories / C++ Tutorial / Development
 

Printing multiple lines of text with a single statement

#include <iostream> int main() {    std::cout << "Welcome\nto\n\nC++!\n";    return 0; } Welcome to C++!