Answers for "c++ code to take a string with integers and spaces and make it an array"

C++
0

how to store array of string with spaces in c++ stl

#include <iostream>
#include <string>

using namespace std;

int main()
{
string input;
getline(cin, input);

cout << "You entered: " << input << endl;
}
Posted by: Guest on June-19-2021

Code answers related to "c++ code to take a string with integers and spaces and make it an array"

Browse Popular Code Answers by Language