Three Questions about C99- For those of you in non-academia.
1. Do you use a compiler or know of any compiler that supports C99. Which is new C standard.
2. Would you use (if supported) the new macro bool found in <stdbool.h> or the unsigned integer _Bool
3. The main() method:
In the Harbison and Steel C reference manual (found in other manuals as well: it says
int main(void) { }
int main() { } /*also OK, but not recommended */
int main(int argc, char *argv[]) {}
"Standard C permitd main to be defined with either zero or two parameters"
Fine- I agree with this- but why the comment mentioned "not recommended" given here? Thoughts and insight please
As you know I teach C at the college level and these are some questions we as a faculty are interested as we prepare for our Fall C classes.
Mr. C.