Answers for "c++ output text"

C++
0

how to print a text in c++

//typing using namespace std; before the int main will make things easier so that you 
//won't need to type std:: every time you code something.
// For example:

using namespace std;

int main()
{
	cout << "Hello World!";

}
Posted by: Guest on August-05-2021
2

get data from terminal c++

int i;
  cout << "Please enter an integer value: ";
  cin >> i;
Posted by: Guest on June-17-2020

Browse Popular Code Answers by Language