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

K&R 4EVAR

Name: Anonymous 2007-08-23 12:29 ID:PxDvWqYx

One True Brace style is fucking shit.  Discuss.

Name: Anonymous 2007-08-23 15:24 ID:B6Gc6Vya

1tbs is better than wasting a full line on a stupid brace. Of course, I do it like this:
void init_ncurses () {
  // set up our display. I forget what it all means already.
  initscr(); cbreak(); noecho(); nodelay(stdscr, TRUE);
  clearok(stdscr, TRUE);
  leaveok(stdscr, TRUE);
  nonl();
  intrflush(stdscr, FALSE);
  keypad(stdscr, TRUE);
  curs_set(0);}

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