|
|
Line 26: |
Line 26: |
| [http://sourceforge.net/projects/codeblocks/files/Binaries/13.12/Windows/codeblocks-13.12mingw-setup.exe Codeblocks with gcc for Windows] | | [http://sourceforge.net/projects/codeblocks/files/Binaries/13.12/Windows/codeblocks-13.12mingw-setup.exe Codeblocks with gcc for Windows] |
| | | |
| + | |
| + | [[Category:Code]] |
| {{Template:FBD}} | | {{Template:FBD}} |
Revision as of 18:58, 20 August 2014
- 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 in all standard C compilers but Turbo C forces void
- 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.
- Far, huge pointers- another not needed concept in Turbo C
- 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'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
Ubuntu 14.04
Other architectures
Ubuntu 14.04
How to make a bootable Ubuntu disk
For anymore doubt in installation you can ask below. It hardly takes 20-30 minutes to dual boot your laptop with both windows and Ubuntu.
For those who doesn't want to use Ubuntu (I don't know why?) and wants only Windows
Codeblocks with gcc for Windows