O'Reilly logo
  • starry night thinks this is interesting:

#define LUCYX #define BADEXIT -1 #ifdef LUCYX *ptyv = open ("/dev/ptc", O_RDWR | O_NDELAY, 0); if (fd < 0) return BADEXIT; #else fprintf (stderr, "You can't do that on this system!"); #endif

From

Cover of Learning GNU Emacs, 3rd Edition

Note

When you test with .cpp file:

include <iostream> with complain with `/lib/cpp -C'

use this: g++ -x c++ -E -