Jun 1, 2010 at 1:31pm UTC
You have not posted the code causing the problem.
I do not know why you are naming an output file stream "in", but that looks like a recipe for disaster. And, I suspect, is the root cause for your error...
Good luck!
Jun 1, 2010 at 2:09pm UTC
You are right Galik .. silly mistak from my side . While checking again the code i got the problem .
I had not included fstream.h ...
Thanks both of you for the suggestions.
Jun 1, 2010 at 2:12pm UTC
bluecoder -- you should include <fstream> not fstream.h the .h system libs are depricated, and can be non-portable.
Jun 1, 2010 at 2:15pm UTC
Yes .. you are right idbentley . i have included <fstream> and it solved my problem.
Thanks.