How to print "Hi" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to print "Hi"

hi, i am new

23rd May 2018, 2:51 AM
吳宇帆
吳宇帆 - avatar
5 Answers
+ 22
Complete the course..... all this basic things are covered there check out 👇 https://www.sololearn.com/learn/CPlusPlus/1603/
23rd May 2018, 2:58 AM
🌛DT🌜
🌛DT🌜 - avatar
+ 8
I recommend that you review the course. https://www.sololearn.com/learn/CPlusPlus/1604/
23rd May 2018, 2:59 AM
Manual
Manual - avatar
+ 5
include<iostream.h> include<conio.h> void main() { clrscr(); cout<<"Hi"; getch(); } try this on your laptop or computer and see the result
26th May 2018, 6:56 PM
Prabhat
Prabhat - avatar
+ 2
in order to print "Hi", you want to use { cout << "Hi"; return 0 ; } I'm new to this, so i could be wrong XD
23rd May 2018, 4:34 AM
Nichvano
+ 1
Nichvano Nope, that's correct
23rd May 2018, 4:56 AM
ReimarPB
ReimarPB - avatar