![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Jan 2005
Posts: 21
Rep Power: 0
![]() |
stringstream delimiter
Is it possible to change the delimiter of a stringstream? For example,
#include<sstream>
#include<string>
int main(){
std::string s;
std::stringstream ss("A B C");
ss >> s;
}Then s is "A". Is it possible to make s be "A B C"? |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unicode & ANSI support w/ string & stringstream | Cache | C++ | 0 | May 9th, 2006 7:34 PM |
| stringstream expects a space at the end of input? | InfoGeek | C++ | 5 | Apr 29th, 2006 8:46 AM |
| Remove last char from a stringstream | yOURsELF | C++ | 10 | Mar 24th, 2006 6:23 PM |
| stringstream | Ancient Dragon | C++ | 12 | Jun 3rd, 2005 5:50 PM |
| Delimiter Fun | Supadude | Java | 5 | Jan 17th, 2005 12:41 AM |