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

c syntaks

Name: Anonymous 2011-12-17 11:01

what was the easier way to refer to an array's first member other than array[0] ?
i forgot what the symbol was.

Name: Anonymous 2011-12-17 12:48

>>10
for( int i = 0; i < strlen(array); i++ )
Well, that's a waste of an O(n) function call per loop.

       printf("%c", i[array] );
Why not just putchar(i[array])??

  printf("\n");
Same as above, use putchar.

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