Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
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
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:08 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC