Sujet : Re: Compiler utility
De : lew.pitcher (at) *nospam* digitalfreehold.ca (Lew Pitcher)
Groupes : comp.os.linux.miscDate : 07. Feb 2025, 23:44:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vo62cg$3hkjs$1@dont-email.me>
References : 1 2 3 4
User-Agent : Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
On Fri, 07 Feb 2025 22:28:29 +0000, The Natural Philosopher wrote:
On 07/02/2025 17:35, root wrote:
when the compiler encountered the line
int main(argc,argv)
it threw up an error.
Well did you have
{
char *argv[]; int argc;
...underneath?
itym
char *argv[]; int argc;
{
as in
/* K&R C style function */
int main(argc,argv)
char *argv[]; int argc;
{
/*... */
return 0;
}
:-)
-- Lew Pitcher"In Skills We Trust"