Categories: Programming & DS

Why I should not use Turbo C?

  1. For a beginner he will be learning wrong concepts like conio.h and clrscr must be used in all c programs
  2. Return type of main is int in all standard C compilers but Turbo C forces void
  3. Difficulty in coding- Turbo C forces all declarations before any function call while Standard C compilers allows declaration anywhere.
  4. int a [10][1000] is not possible in Turbo C while modern compilers allow at least 100 times this size.
  5. Far, huge pointers- another not needed concept in Turbo C
  6. C is for system programming, Turbo C won’t teach you any system as DOS is no longer in use
  7. “I code in Turbo C” is enough to get the exit ticket from any good company interview
  8. 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
  9. 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 System Programming

on 64 bit machines

Any other flavor of Linux would also do.

Ubuntu 16.04

Other architectures

Ubuntu 16.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 don’t want to use Ubuntu (I don’t know why?) and want to use only Windows

Codeblocks with gcc for Windows

A short Tutorial for migrating to gcc on Windows

arjun

View Comments

Share
Published by
arjun

Recent Posts

GATE CSE 2022 Admissions, Results and Placement Responses

This page shows all details regarding GATE CSE 2022 Admissions including results, admission offers and…

2 years ago

GATE CSE 2021 Admission Responses

Source Add your Response Rank Predictor for GATE CSE 2021 Result Responses: GATE CSE 2021…

3 years ago

GATE CSE Books – More Options

Best Books for GATE CSE with Relevant Chapters to Read  Heads Up! These GATE CSE…

3 years ago

ISI PCB Previous Year Papers with Solution

Indian Statistical Institute(ISI) offers M Tech in Computer Science with the Admission Test Codes MMA/PCA…

3 years ago

ISI JRF Previous Year Papers with Solution

Indian Statistical Institute(ISI) offers Junior Research Fellowships (JRF) in Computer Science, Statistics, Mathematics, Quantitative Economics,…

3 years ago

ISI DCG Previous Year Papers with Solution

 Indian Statistical Institute(ISI) conduct the admission test for Postgraduate Diploma in Computer Applications(PGDCA) with the…

3 years ago