[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Simple c program won't compile

--- Chris Gray <cgray@tribsoft.com> wrote:
> vector".  But they are just arguments to a
> function and can have any
> name a person wants.  So all the following are
> correct:
> int main(void)
> int main(int foo, char **bar)
> int main(int foo, char **bar, char **baz)
to be honest, I haven't seen this last one. how
does it work?

(moot point)
let us not forget the classic:

int main(int argc, char *argv[])

Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 

Reply to: