Answers for "can a string with spaces be take input in c++"

C++
3

string input with space c++ stl

char input[100];
cin.getline(input,sizeof(input));
Posted by: Guest on July-11-2021

Code answers related to "can a string with spaces be take input in c++"

Browse Popular Code Answers by Language