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

Tabs VS Spaces

Name: Anonymous 2009-03-10 22:42

Which do you prefer in your code?
Personally I like tabs more but they're misused for formatting instead of indentation by many which is annoying and kind of defeats the purpose.

Name: FrozenVoid 2009-03-11 14:56

#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[]){int i;size_t arg_len;for(i=0,arg_len=0;i<argc;++i){
printf("%i: %s\n",i,argv[i]);arg_len+= strlen(argv[i]);}printf("Length of arguments: %zu\n",arg_len);return 0;}

___________________________________________
If there is no struggle, there is no progress.

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