• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
0

What is better \n or endl?

cout
24th Sep 2021, 5:50 AM
Rodriguez Kyle D.
3 Respuestas
+ 2
https://www.sololearn.com/discuss/1956685/?ref=app https://www.sololearn.com/discuss/265796/?ref=app https://www.sololearn.com/discuss/78193/?ref=app https://www.sololearn.com/discuss/1392532/?ref=app https://www.sololearn.com/discuss/2410326/?ref=app https://www.sololearn.com/discuss/650395/?ref=app https://www.sololearn.com/discuss/127013/?ref=app https://www.sololearn.com/discuss/2328711/?ref=app https://www.sololearn.com/discuss/242949/?ref=app https://www.sololearn.com/discuss/115622/?ref=app https://www.sololearn.com/discuss/992807/?ref=app https://www.sololearn.com/discuss/36076/?ref=app
24th Sep 2021, 6:10 AM
加油 我先下了
加油 我先下了 - avatar
0
Although both can be used. I believe \n is preferable as it's easier to use plus endl performs worse in comparison
24th Sep 2021, 5:56 AM
CHANDAN ROY
CHANDAN ROY - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
How i learn it I feel bhai it's tough some one help me 😐
0 Votes
Please recommend me
0 Votes
chat I wanna make a bullet hell game what language(s) do I need to know?
0 Votes
Can i code here? Or just learn?
0 Votes
hi i want to learn C# but i don't have a good tut
1 Votes
Hi, please I'm interested in learning Html, css and Javascript. I need a guidance or any app recommendation that will make me
0 Votes
how to make sans fight on web language
1 Votes
It's app not running properly?
1 Votes
Learn tkinter
1 Votes
Why Lazy?
1 Votes