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

C++ writing style

Name: vexed 2012-03-25 19:54

When writing code (in C++ particularly), where do you put your curly braces?

ex:
int main()
{

}

OR...

int main(){

}

which do you think is better? clearer? more professional?

Name: Anonymous 2012-03-26 11:48

>>24
More to the point. What about the following.


#include <"foo.h">

void getData(void)
{
  struct you are;
  are.stupid = 1;
  are.gay = 2;
  are.retarded = 2;
}

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