When I change it to <stdlib.h> I still get a second error that reads " 'true' undeclared (first use in this function). The strange thing is the example program runs fine. But when I make my own program I still get those two error messages. This includes a copy/paste of the example.
Thank you. But why would it run sometimes (from the example) and not others? Thanks again for your help.
#define FALSE 0
#define TRUE 1
enum Boolean {false, true}; /* i.e., false=0, true=1 */
You can use #include<stdbool.h>