+ 2
What is the getline statement?
4 Answers
+ 2
With getline you can get full line. With cin you can get text to enter or space, but getline allows you to get full line. getline(cin, variable);
+ 1
What is its syntax ? Can u give some example ?
+ 1
look up. You have variable "text123" and there you want to place line of input text, so: getline(cin, text123);
- 1
?