View Single Post
Old Dec 26th, 2006, 12:42 AM   #1
quantalfred
Newbie
 
Join Date: Jan 2005
Posts: 21
Rep Power: 0 quantalfred is on a distinguished road
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"?
quantalfred is offline   Reply With Quote