cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
String getline
String getline
Apr 3, 2012 at 10:16am UTC
Exispistis
(68)
Hello all!
I know that it is possible to use "cin.getline();" for C style strings, but I am not aware of how to do this with C++ style strings. Does anyone know what the relevant function is?
Thanks in advance for your time!
Apr 3, 2012 at 10:22am UTC
coder777
(8444)
It's getline as well:
http://www.cplusplus.com/reference/string/getline/
Topic archived. No new replies allowed.