c++cturbo-c++turbo-c

Is Borland C++ not C++?


One of my career courses is teaching us the basics of "Turbo C". I was never sure if it was C or C++. So I checked the help and it said "Borland C++ Version 3.0".

But when I go look for help on the web, my code seems to be C.

So which one is it or why is it all mixed?


Solution

  • You are able to compile C code with a C++ compiler, with minor changes to the code in some cases. So even if your code is C there is no problem that you are using Borland C++. It is even possible that the compiler will detect that it is a C file and apply different rules.