How do i type another text | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
17th Oct 2020, 12:23 AM
Ultra WALKER
Ultra WALKER - avatar
10 Réponses
+ 4
What do you mean? You want to take user input? Or You want to output another text on console?
17th Oct 2020, 12:35 AM
Mouli
Mouli - avatar
+ 4
cout << "Another text"; You can use cout as many times you want..
17th Oct 2020, 12:37 AM
Mouli
Mouli - avatar
+ 4
Ultra WALKER return 0; marks the end of program.. so anything written after that will not be read by compiler.. only use return 0 when you're done with writing your program. Check this👇 https://code.sololearn.com/c5Pwy9OJutIa/?ref=app
17th Oct 2020, 12:46 AM
Mouli
Mouli - avatar
+ 4
You're welcome 😊 Just don't forget to review cpp course. https://www.sololearn.com/Course/CPlusPlus/?ref=app
17th Oct 2020, 1:03 AM
Mouli
Mouli - avatar
0
Output another text on console
17th Oct 2020, 12:36 AM
Ultra WALKER
Ultra WALKER - avatar
0
After the curly braces
17th Oct 2020, 12:38 AM
Ultra WALKER
Ultra WALKER - avatar
17th Oct 2020, 12:44 AM
Ultra WALKER
Ultra WALKER - avatar
0
It does not print the second one
17th Oct 2020, 12:45 AM
Ultra WALKER
Ultra WALKER - avatar
0
😑 C++ is fun? I cannot unsee that🚶‍♂️🚶‍♂️🚶‍♂️
17th Oct 2020, 12:53 AM
Ultra WALKER
Ultra WALKER - avatar
0
But dope thanksbro i owe ypu one
17th Oct 2020, 12:54 AM
Ultra WALKER
Ultra WALKER - avatar