This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: "fstream: No such file or directory" but it is present
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Mahmood Naderan <nt_mahmood at yahoo dot com>
- Cc: gcc <gcc-help at gcc dot gnu dot org>
- Date: Wed, 25 May 2011 19:39:55 +0100
- Subject: Re: "fstream: No such file or directory" but it is present
- References: <318082.89057.qm@web111703.mail.gq1.yahoo.com>
Your file is a .c which gcc thinks is a C file
Either rename it or compile with g++, see the manual
Also, why are you defining all those macros? Don't do that