i can't use the <sstream> header in my compiler, how do i add it so i can? where do i get it from?
Printable View
i can't use the <sstream> header in my compiler, how do i add it so i can? where do i get it from?
#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?
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 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
ok cheers, i new that dev 4 didn't include <sstream> but can you add headers to your I.D.E ?
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++.Quote:
Originally Posted by wart101
Quote:
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?
You shouldn't. See this.