12345678910111213
#include <iostream> using namespace std; int main () { char street[30]; cout<< "street:\n"; cin>> street; //possible input "abc street" or "old abc street" cout<< street << "\n"; }
cin.getline(street, sizeof(street));