input sentences in C++ is easy to implement and unobtrusive. In the past, the use of C++ language was required in data entry before designing graphical interfaces, so the need was to use input statements and connect them in databases and then fetch them when needed.
1. input sentences in C++
It is a programmatic command that allows C++ to read input information and either display it on the screen or keep it somewhere else.
2. Example
Please, copy these codes into your editor to see how cin works.
#include<iostream> using namespace std; int main() { const int size = 30; char str[size]; cout << "Enter An String : "; cin >> str; cout << "You Entered : \n" << str; return 0; }