Results 1 to 2 of 2
Thread: C++
Hybrid View
-
8th January 2015 14:36 #1Registered User
Join Date: Jul:2014
Location: Dobrich
Posts: 10
C++
. , string, , , . .
Code://read string string readString; cout << "Enter string: "<<endl; cin >> readString; // istringstream iss(readString); do { string sub; iss >> sub; cout << "Substring: " << sub << endl; } while (iss);
-
8th January 2015 14:54 #2
getline(cin, readString);
ASRock B85 Pro4, Pentium G3240, DD3 8GB/1333MHz, 120GB SSD + 1TB + 640GB HDD
Gigabyte GV-R657OC-1GI, CM B500, ASUS 24B1S1, LCD SAMSUNG SM931BW, 173




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in