Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 258 Bytes

(C++) std::cin

'cin' stands for 'character input' and is an input stream.

#include <iostream>
#include <string>

int main()
{
  //Ask the user for an input string
  std::string user_input;
  std::cin >> user_input;
}