endl
⏎ Inserts a newline and flushes output
Outputs newline and flushes stream.
中文对照 · Chinese
⏎ 打字机回车换到下一行
放在 `cout` 末尾,相当于另起一行。
Code example
cout << "Line 1" << endl;Explore 100 bilingual word cards →
Outputs newline and flushes stream.
⏎ 打字机回车换到下一行
放在 `cout` 末尾,相当于另起一行。
cout << "Line 1" << endl;Explore 100 bilingual word cards →