Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Old-style vs ISO C function definitions

Name: Anonymous 2010-12-09 5:52

Pick your poison.

Name: Anonymous 2010-12-09 12:44

Old-style.
Because this way I can do


funcName(a,b,c,d)
 int a,b,c,d;
{return a+b+c*d;}


In ISO-shit I need to write 5 ints instead of one


int/*1*/ funcName(int/*2*/ a, int /*3*/b,int /*4*/c,int /*5*/ d)
{return a+b+c*d;}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List