This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to declare EOF?(simple)
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: eric lin <ericlin at fsshl dot zzn dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 20 May 2011 20:40:35 +0100
- Subject: Re: how to declare EOF?(simple)
- References: <F453ADB4060CB06488C0DAE9D71131BB@ericlin.fsshl.zzn.com>
On 20 May 2011 19:46, eric lin wrote:
> Dear g++ programers:
> ?I just tried a piece simple c++ code, copied from c++ primer plus book(5ed, pg221), but it failed to compile, because EOF was not declared in this scope
#include <stdio.h>