+ 3
Is there any difference in the syntax of coding between new compilers like code::blocks and old compilers like turbo C++ ?
I want to know that is it same to code in old or new compilers.
4 Réponses
+ 3
Contrary to what cool_boy12344 has said, code does differ in those circumstances. Some standards which were previously used in Borland compiler have been removed/replaced. So, by the new standards, there is a slight variation in the coding style.
+ 2
Kainatic agreed.
Basically your syntax changes when the version of the language changes, which means the compiler for the new version will be different and so must be the IDE.
+ 2
Yes there are differences but if you go through code blocks then it's better.
0
One of the many used compilers for c is gcc compiler.
To compile a program, you gotta instruct the compiler via certain commands.
Now an IDE does that for you with a click of a button.
"turbo C++" is an old IDE with comparatively poor GUI than "code::blocks".
In a nut shell the syntax of your code has nothing to with the IDE you use.
Hope this helps.