| delorie.com/archives/browse.cgi | search |
| From: | ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: QUESTION: General Syntax |
| Date: | 28 Feb 1997 03:33:41 GMT |
| Organization: | The National Capital FreeNet |
| Lines: | 21 |
| Message-ID: | <5f5jml$bvd@freenet-news.carleton.ca> |
| References: | <Pine DOT SOL DOT 3 DOT 91 DOT 970224190743 DOT 3403A-100000 AT world DOT evansville DOT net> <3312991D DOT 3983 AT cs DOT com> |
| Reply-To: | ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) |
| NNTP-Posting-Host: | freenet5.carleton.ca |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I had an old version of PCC two or three years ago before I got DJGPP.
It used a funny syntax:
int main:
int argc;
char *argv[];
{
function stuff
}
On doing some research I learned PCC was using the ancient K&R syntax
from the pre-ANSI days. Needless to say GCC uses ANSI instead.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |