Command Line IO Flashcards
1
Q
What is the format of a string output?
A
std::cout «_space;“string” «_space;std:endl
2
Q
How do you declare a string using iostream?
A
std::string string_variable;
3
Q
What is the format of a string input?
A
std: :string string_variable;
std: :cin»_space; string_variable;