Console Output Cpp

[Solved] Console Output Cpp | Vb - Code Explorer | yomemimo.com
Question : how to output to console c++

Answered by : fadedunder

/*there are 2 ways of doing it.*/
#include <iostream> // including the main thing needed
int main(){ std::cout << "Text here."; //you could put using namespace std; so you just have to do cout << "Text Here."; //this isnt reccomended though. printf("hi"); //is also an option. return 0;
}

Source : | Last Update : Sun, 31 May 20

Answers related to console output cpp

Code Explorer Popular Question For Vb