Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Stringstream in Bloodshed Dev C++ (http://www.programmingforums.org/showthread.php?t=14717)

mattireland Dec 9th, 2007 5:59 AM

Stringstream in Bloodshed Dev C++
 
Hi,

I've just started using Bloodshed's Dev C++ but the compiler cannot find sstream when i type include <sstream> I've included <string> just above it.

Thank you very much,

Matt I

Ancient Dragon Dec 9th, 2007 7:09 AM

Re: Stringstream in Bloodshed Dev C++
 
I have version 4.9.9.2 and it did not have that problem. Use Windows Explorer and see if sstring actually exists in the compiler's include directory, it may have been accidentally deleted.

mattireland Dec 9th, 2007 8:48 AM

Re: Stringstream in Bloodshed Dev C++
 
No, I can't find it anywhere. Does that mean a reinstall or is there anywhere I can get the one file from?

Again, thank you very much,

Matt. I

Ancient Dragon Dec 9th, 2007 10:35 AM

Re: Stringstream in Bloodshed Dev C++
 
You should have found it here: D:\Dev-Cpp\include\c++\3.4.2. If that file is missing there there is no telling what all else is missing too. My suggestion is to uninstalled first and install it again.

mattireland Dec 9th, 2007 10:47 AM

Re: Stringstream in Bloodshed Dev C++
 
lol i don't even have a \c++ folder let alone a 3.4.2 folder. All I have in my include folder is G++, Gl, ObjC and Sys and a few header files :(

So you reckon I should reinstall...... I take it I need to back up all my projects first?

Ancient Dragon Dec 9th, 2007 11:32 AM

Re: Stringstream in Bloodshed Dev C++
 
>>i don't even have a \c++ folder let alone a 3.4.2 folder
Maybe its just my version of the compiler ??? but I doubt it.

>> I take it I need to back up all my projects first?
Absolutely! Unless of course you like recoding them all if (and when) they get trashed. You should be doing that regularly anyway.

mattireland Dec 9th, 2007 11:35 AM

Re: Stringstream in Bloodshed Dev C++
 
Yes I take your point there. On the subject of backing up your data you may find this rather amusing:

http://www.youtube.com/watch?v=Mal6XbN5cEg

And thanks again for your help!

Ancient Dragon Dec 9th, 2007 12:07 PM

Re: Stringstream in Bloodshed Dev C++
 
Tnanks for posting that. He's no American Idle but better singer then most (and me). :)

mattireland Dec 9th, 2007 12:10 PM

Re: Stringstream in Bloodshed Dev C++
 
And definitely me. No problem!

mattireland Dec 9th, 2007 4:26 PM

Re: Stringstream in Bloodshed Dev C++
 
I've resintalled but still do not have that directory! What the heck is wrong with it?!?!?!?!?!?

I am using version 4.


All times are GMT -5. The time now is 9:38 PM.

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