Hi again.Read the source code below please:
// Determining the size of variable types
#include <iostream.h>
int main()
{
cout << " The size of a bool is:\t\t" << sizeof(bool) << " bytes.\n";
return 0;
}
p:s:I have not included the other variable types because there was no error message for them.The error message says the bool is an undeclared identifier.c++7,or c700.that's what my cd says!I don't know how to write my code in notepad and then transfer my file from notepad to the compiler to link.I have Borland Turbo C++ Version5.02 in that cd.Should I try to install turbo c++ and then try to use the borland compiler for my c++ codes? I don't know but how is it possible to use other compilers except than the default one I use with c++?