+ 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.

11th Jun 2019, 5:53 AM
Sameer Bhardwaj
Sameer Bhardwaj - avatar
4 Respostas
+ 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.
11th Jun 2019, 8:54 PM
Kainatic [Mostly Inactive Now]
Kainatic [Mostly Inactive Now] - avatar
+ 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.
11th Jun 2019, 9:02 PM
cool_boy12344
cool_boy12344 - avatar
+ 2
Yes there are differences but if you go through code blocks then it's better.
12th Jun 2019, 6:27 AM
Khan Ayaan
Khan Ayaan - avatar
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.
11th Jun 2019, 12:49 PM
cool_boy12344
cool_boy12344 - avatar