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 Answers
+ 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