I just compiled your program with gcc on my linux machine, and it told me that a bool is one byte. Sorry, I have no recent experience with Borland's compiler tools - the last time I used Turbo C++ 4.5 I was back in 10th grade.
cscgal
The Queen of DaniWeb
19,424 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
cscgal
The Queen of DaniWeb
19,424 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
Sorry, I missed your P.S. Well, you're using an IDE, integrated development environment, which means that your editor and compiler are built into one. If you have Microsoft Visual C++ 6 or Visual C++.NET handy, you can try the compiler built into that IDE.
I just tried the gcc compiler on linux and it worked (as I noted already).
cscgal
The Queen of DaniWeb
19,424 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
If you have C++.NET, you can compile in that. However, there are some differences depending on what platform you're programming for. C++.NET has a lot of proprietary built-in functions, for example.
cscgal
The Queen of DaniWeb
19,424 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230