Is it possible to use sstream header in mingw 2.95 compiler?.If, it is, then how? I am using C-Free 4.0 and it comes with default mingw2.95 and cygwin compiler
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
g++ 2.95 is really from the stone age. There was no
<sstream>at that time.(A lot of other things are missing too or don’t work like they do in more recent compilers.)
It comes only with the obsolete
<strstream>which is based onchar*.Your options are:
sstreamfrom gcc 3.x. That worked for me at that time. But be prepared for more surprises.strstreambut that’s ugly…