Top "Cin" questions

std::cin is the global stream object provided by the C++ standard library for reading from the standard input stream.

Problem of using cin twice

Here is the code: string str; cin>>str; cout<<"first input:"<<str<<…

c++ cin
input to C++ executable python subprocess

I have a C++ executable which has the following lines of code in it /* Do some calculations */ . . for (int i=0; …

python c++ subprocess popen cin
Can a variable be initialized with an istream on the same line it is declared?

Can the following two lines be condensed into one? int foo; std::cin >> foo;

c++ int cin
C++: cin >> *char

So, I'm currently writing a line editor as a learning project on I/O, writing files, and the like. It …

c++ cin ofstream argc