www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/06/01:59:55

From: Jason <bigjmack AT NOSPAM DOT rt66 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Hi
Date: Sat, 05 Sep 1998 21:39:11 -0600
Organization: Rt66.COM, New Mexico's #1 ISP
Lines: 23
Distribution: world
Message-ID: <35F203DF.3F046111@NOSPAM.rt66.com>
References: <199809041845 DOT OAA15564 AT delorie DOT com>
NNTP-Posting-Host: pmd17.rt66.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> #include <stdio.h>
>
>          int
>          main ()
>          {
>            printf ("%d \n" 10    //*
>                      / 2    //*/
>                        1
>                        );
>            return 0;
>          }
>

I tried to compile this program and I got a syntax error outside of the ones
he listed.

Error 9: Expression syntax in function main()

I thought this program looked like it wouldn't compile the second I looked at
it.

--JA$ON--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019