Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Jun 3rd, 2005, 11:19 AM   #11
Animatronic
Programmer
 
Join Date: Jun 2005
Posts: 99
Rep Power: 4 Animatronic is on a distinguished road
Sorry that was me being stupid, i forgot to change the input string back to "123" and I thought it had worked :/

Your right you cant pass goodbit into setstate(), instead change the line to:

s.clear( stringstream::goodbit );

this will clear the state to goodbit, and I promise this time it woks
Animatronic is offline   Reply With Quote
Old Jun 3rd, 2005, 11:49 AM   #12
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 516
Rep Power: 4 Ancient Dragon is on a distinguished road
Quote:
Originally Posted by Animatronic
this will clear the state to goodbit, and I promise this time it woks
YESSSSS! Thanks a lot I thank you. My wife thanks you. My sister thanks you. My brother thanks you. My mother thanks you. My father thanks you. My aunt thaks you. My uncle thanks you. ... (get the idea?)
Ancient Dragon is offline   Reply With Quote
Old Jun 3rd, 2005, 4:50 PM   #13
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Quote:
Originally Posted by Ancient Dragon
YESSSSS! Thanks a lot I thank you. My wife thanks you. My sister thanks you. My brother thanks you. My mother thanks you. My father thanks you. My aunt thaks you. My uncle thanks you. ... (get the idea?)
You have any young daughters? :p j/k
I searched google for a while, indeed it's not easy to find.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Reply

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




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

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