0

Can you make the user input string?

Using the cin operator to make the user input string.

18th Dec 2016, 11:39 AM
AtomicComic2004
AtomicComic2004 - avatar
3 Réponses
+ 1
Ah! Thanks, trying to make a trivia game! thanks again!
25th Dec 2016, 6:39 AM
AtomicComic2004
AtomicComic2004 - avatar
0
use std::string
18th Dec 2016, 11:49 AM
Чистобаев Андрей
Чистобаев Андрей - avatar
0
example #include <iostream> int main(){ std::string name; std::cin>>name; }
18th Dec 2016, 11:51 AM
Чистобаев Андрей
Чистобаев Андрей - avatar