Arjun Suresh (talk | contribs) (Created page with "# For a beginner he will be learning wrong concepts like conio.h and clrscr must be used in all c programs # Return type of main is int but turbo c forces void # Difficulty in...") |
Arjun Suresh (talk | contribs) |
||
Line 1: | Line 1: | ||
# For a beginner he will be learning wrong concepts like conio.h and clrscr must be used in all c programs | # For a beginner he will be learning wrong concepts like conio.h and clrscr must be used in all c programs | ||
− | # Return type of main is int but | + | # Return type of main is int but Turbo C forces void |
− | # Difficulty in coding- | + | # Difficulty in coding- Turbo C forces all declarations before any function call while Standard C compilers allows declaration anywhere. |
# int a [10][1000] is not possible in Turbo C while modern compilers allow at least 100 times this size. | # int a [10][1000] is not possible in Turbo C while modern compilers allow at least 100 times this size. | ||
# Far, huge pointers- another not needed concepts | # Far, huge pointers- another not needed concepts | ||
− | # C is for system programming, | + | # C is for system programming, Turbo c won't teach you any system as DOS is no longer in use |
− | # "I code in Turbo C" is enough to get the exit ticket from any good company interview. | + | # "I code in Turbo C" is enough to get the exit ticket from any good company interview |
− | #A C compiler is supposed to translate a C code to machine code. But the code generated by Turbo C is not for any current | + | # I'm lazy- I don't want to write conio.h, clrscr and getch for every C code when it is absolutely not necessary to type them in any standard C compiler |
+ | #A C compiler is supposed to translate a C code to machine code. But the code generated by Turbo C is not meant for any current machine (architecture). It is meant only for DOS (just because DOS emulator is there it works in Windows, but not useful for making any application outside DOS). Use the appropriate compiler for your machine and choose others when you can't find one. In most architecture you can get gcc which is the most widely used compiler and is also opensource. | ||
+ | |||
+ | |||
+ | ==Best option for Programming== | ||
+ | on 64 bit machines | ||
+ | |||
+ | [http://releases.ubuntu.com/14.04/ubuntu-14.04.1-desktop-amd64.iso Ubuntu 14.04] | ||
+ | |||
+ | for other architectures you can see here | ||
+ | |||
+ | [http://releases.ubuntu.com/14.04/] | ||
+ | |||
+ | ==For those who wants to continue use windows (I don't know why?)== | ||
+ | [ http://sourceforge.net/projects/codeblocks/files/Binaries/13.12/Windows/codeblocks-13.12mingw-setup.exe | Codeblocks with gcc for Windows] | ||
+ | |||
+ | {{Template:FBD}} |
on 64 bit machines
for other architectures you can see here
[ http://sourceforge.net/projects/codeblocks/files/Binaries/13.12/Windows/codeblocks-13.12mingw-setup.exe | Codeblocks with gcc for Windows]
on 64 bit machines
for other architectures you can see here
[ http://sourceforge.net/projects/codeblocks/files/Binaries/13.12/Windows/codeblocks-13.12mingw-setup.exe | Codeblocks with gcc for Windows]