0

How do you print more than one is c++?

I just started my course in c++, and I am already confused. How do I print again? https://code.sololearn.com/c8Gr2xrvuS9W/?ref=app

3rd Nov 2019, 11:09 PM
Theodore206
Theodore206 - avatar
5 Réponses
+ 3
https://code.sololearn.com/cxIhw9B2iVdY/?ref=app
3rd Nov 2019, 11:11 PM
Nootnoot
Nootnoot - avatar
+ 2
Like this? cout<<"Hi\n\n\n\n\n\n\n\n\n\nHello";
3rd Nov 2019, 11:24 PM
Nootnoot
Nootnoot - avatar
0
what if, say, i wanted to print something hutnitbwas farther in the code. like 10 lines away?
3rd Nov 2019, 11:21 PM
Theodore206
Theodore206 - avatar
0
Theodore206 Please take a look at this code Snippet: https://code.sololearn.com/cJm99LPr6nXm/?ref=app Your code with a little cosmetics. Regards kiuziu
4th Nov 2019, 12:13 AM
Kiuziu 💘 Berlin
Kiuziu 💘 Berlin - avatar
0
no. like lets say i printed something at the beginning of te code. then lets day 20 lines of diffetent code later i wanna print something. is it as simple as cout << "hi?" or do i do the entire process (iostream, namespace etc)
4th Nov 2019, 12:43 AM
Theodore206
Theodore206 - avatar