| delorie.com/archives/browse.cgi | search |
| Message-Id: | <200006051626.TAA29413@mailgw1.netvision.net.il> |
| Date: | Mon, 05 Jun 2000 19:24:35 +0200 |
| X-Mailer: | Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| To: | "kontulaiset" <fam DOT kontulainen AT pp1 DOT inet DOT fi> |
| CC: | djgpp AT delorie DOT com |
| In-reply-to: | <MQM_4.188$S01.7940@read2.inet.fi> (fam.kontulainen@pp1.inet.fi) |
| Subject: | Re: Vs: Vs: problems...anyone can help me? |
| References: | <%dSZ4.924$xt4 DOT 9866 AT read2 DOT inet DOT fi> <m3itvr7wga DOT fsf AT vsnl DOT net DOT in> <39384246 AT news DOT server DOT worldonline DOT co DOT uk> <Uwx_4.383$537 DOT 6093 AT read2 DOT inet DOT fi> <m3snutp68u DOT fsf AT vsnl DOT net DOT in> <MQM_4.188$S01 DOT 7940 AT read2 DOT inet DOT fi> |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: "kontulaiset" <fam DOT kontulainen AT pp1 DOT inet DOT fi>
> Date: Mon, 05 Jun 2000 12:14:36 GMT
>
> #INCLUDE<IOSTREAM.H>
> DECLARE RETURN 0
>
> INT MAIN()
> {
> RETURN 0;
> }
>
> THIS KIND OF PROGRAM AND
> Compiling: moi2.c
> moi2.c(1) Error: undefined or invadil #directive
In addition to rewriting this in lower case, you need to rename the
file to moi2.cc or moi2.cpp; otherwise the compiler will think it's a
C program. See section 8.5 of the DJGPP FAQ list for more about this.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |