i can't use the <sstream> header in my compiler, how do i add it so i can? where do i get it from?
i can't use the <sstream> header in my compiler, how do i add it so i can? where do i get it from?
WhAtHA hell Is GoInG ON
#include <sstream>
If it's in the standard library that is. Put that before your main() function, near the top of the source file.
What compiler are you using?
Double Helix STL
Like swgh implied, it probably wasn't included with your compiler. You're using Dev C++ 4, right? If so, and you want to continue using Dev-C++, get the v5 beta. Otherwise there are a number of free compilers that will include it such as Code::Blocks (*snipped bad info*), and VS Express is still free, I think...
[edit]OK I mixed up IDE and compiler, too. oops^2[/edit]
Last edited by Decrypt; 01-14-2007 at 03:20 PM.
There is a difference between tedious and difficult.
Last I knew Code::Blocks was its own dev team and didn't have anything to do with bloodshed. Also Code::Blocks doesn't have any header files, you get those from the installed compiler, which most use MinGW with Code::Blocks.
Oops, I had heard it was the same team...edited above post
There is a difference between tedious and difficult.
ok cheers, i new that dev 4 didn't include <sstream> but can you add headers to your I.D.E ?
Last edited by wart101; 01-14-2007 at 10:33 PM.
WhAtHA hell Is GoInG ON
If the IDE doesn't come with any header files then you have to install mingw which is the collection of compilers and header files for c and c++.Originally Posted by wart101
Originally Posted by indigo0086
it come with header file just not sstream, my question is can you add header files? from what i have been toold you can, is this true?
WhAtHA hell Is GoInG ON