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

Reply via email to