Day 24
C++ Output (Print Text)
The cout object, together with the << operator, is used to output values and print text.
Just remember to surround the text with double quotes (""):
Example
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
Comments
Post a Comment