You could effectively have just started a syntax war. I wouldn't ask this question here.
I would hit google and type something like "Common C syntax" and start reading. There are many ways to format your C code. Everyone does it a little different, and everyone thinks their way is best. Jason -----Original Message----- From: dat one guy [mailto:[EMAIL PROTECTED] Sent: Friday, August 30, 2002 9:33 AM To: [email protected] Subject: [OT] C Coding Standards Hello all, I was working with a few snippets and come to wonder something, is there some sort of standard C coding style? I mean, like where to put the { in a function, I put it after the function header, but some others put it on the same line ie void blah ( void) { ... } void blah (void) { ... } Same with if..else statements. Also, tabs vs spaces, and how many? 2? 4? 8? Also, is there some sort of standard naming convention for variables and such? I mean, none of this is really a big deal, it all comes out the same, I know. Thanks for any info, and this is not meant to be a put down to how people write code, to each his own, but I was just wondering... -Xanth __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- ROM mailing list [email protected] http://www.rom.org/cgi-bin/mailman/listinfo/rom

