www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/31/14:06:56

Xref: news2.mv.net comp.os.msdos.djgpp:4416
From: olly AT mantis DOT co DOT uk (Olly Betts)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linking problem
Date: 30 May 1996 13:35:53 +0100
Organization: techn-ol-ogy
Lines: 13
Message-ID: <19960530123207.olly@mantis.co.uk>
References: <199605281807 DOT OAA08449 AT fcshome DOT stoneham DOT ma DOT us>
NNTP-Posting-Host: sunforest.mantis.co.uk
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <199605281807 DOT OAA08449 AT fcshome DOT stoneham DOT ma DOT us>,
 <fredex AT fcshome DOT stoneham DOT ma DOT us> wrote:
>The correct prototype for main is:
>
>	int main (int, char **);

ANSI C also allows:

int main (void);

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass

- Raw text -


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