Hey guys, I was just trying out some exercises in this textbook I just got here " Programming in C by Kochan." I use the compiler "Borland C++ BuilderX."
While trying this simple program, the compiler gives me an error message that "_Bool" is an undefined symbol!!! This has to be crazy. Here's the code:
Code:
#include <stdio.h>
int main(void)
{
int integerVar = 100;
float floatingVar = 331.79;
double doubleVar = 8.44e+11;
char charVar = 'W';
_Bool boolVar = 0;
printf("integerVar = %i\n", integerVar);
printf("floatingVar = %f\n", floatingVar);
printf("doubleVar = %e\n", doubleVar);
printf("doubleVar = %g\n", doubleVar);
printf("charVar = %c\n", charVar);
getchar();
return 0;
}