I just want to know that what is the difference between using Turbo C and GNU C/C++? Is there any real difference, or if I submit the .C file would that be the same thing?
Is there any real difference, or if I submit the .C file would that be the same thing?
Yes there would be a lot of differences and it would be almost certainly not the same thing. Turbo C/C++ was released decades ago without compliance for any standard definitions and never was updated regarding these.
It will start with differences in naming header files, e.g. iostream.h
vs iostream
, and end with lack of support for modern C++ syntactic sugar like range based for loops.
Just dump it. Turbo C/C++ isn't useful for anything nowadays to learn the language (even if some "professors" in India1 think it is, and insist of using it).
1) We really should start a campaign to convince the indian education public authorities to stop teaching the usage of Turbo C/C++. It's just a shame for a country that plays well with rocket science in competition with other tech leading countries in the world.
There's no reason to keep it. There are many modern compilers and IDE's available without any additional cost, and I can't see any reason why this restriction should be continued, or what they think is of value in education.