On Sun, Jun 7, 2009 at 9:42 AM, bala chandar<[email protected]> wrote:
> Hai,
> I recently installed Ubuntu 8.10.Actually I need g++ for my project.So
> I installed it through synaptic.I installed g++,g++ 4.1,g++4.2,g++ 4.3
> all shown in synaptic.
> But when i compile my project it says,
> stream.h - No Such File or Directory Found
> fstream.h - No Such File or Directory Found
>
> I m really in need of these headers.Pls help me to get rid of it
> soon.Thank you....
> cheers.....

In the more modern C++ systems, you don't include fstream.h or
iostream.h; the correct form is:

#include <fstream>

using namespace std;

I think gcc and friends will yell at you if you don't follow this.

Regards,
Shash
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to