News for hackers. Stuff that matters.
Re:C Books and C++ Books You Don't Want by laichzeit0 on Tuesday December 25, 2012 @02:26AM (#4965390)
Agree. I've used "void main(void)" on embedded applications where 1. there is no OS under you. 2. it can never "exit"

void main(void) { init(); for(;;) { web_tick(); serial_tick(); tcp_tick(); etc. } }

An example is the horrible Dynamic C compiler from z-world (or digi as they are now called). Guys who complain about "violating standards" clearly haven't worked in diverse enough fields on broken, shitty and half-standard compilers ;)

There are no comments on this comment yet.