+ 3

How can i get output in C++

I can't understand how output can get in c++ is there any help me

30th Jan 2018, 5:33 PM
Anna Chernet
Anna Chernet - avatar
2 Answers
+ 3
With the iostream library, you can use the command cout to output whatever you want. It may look like this: cout << "Hi! :D" << endl; Endl just signifies a new line to be created. Hope this helped!
30th Jan 2018, 5:49 PM
Faisal
Faisal - avatar
+ 2
What do you mean by OUTput getting IN C++? If you're talking about reading the output from a different program, check out anonymous pipes.
30th Jan 2018, 9:03 PM
Vlad Serbu
Vlad Serbu - avatar