How to Install Turbo C++ Version 3.0, Compile and Run C Program

If you are looking for installing Eclipse for C, click here

In this article, you will get answers to the following questions:

  • How to Install Turbo C++ Version 3.0?
  • How to create a new C Program using Turbo C++ Version 3.0?
  • How to run a C Program using Turbo C++ Version 3.0?

How to Install Turbo C++ Version 3.0?
Installing Turbo C++ Version 3.0 is very easy and effortless. Follow below mentioned easy steps to install Tourbo C:

Congratulation… You are done with installation of Turbo C++ Version 3.0.

How to create a new C Program using Turbo C++ Version 3.0?

    • Open the bin folder (“C:\TC\BIN”)
    • Click on “TC” icon as shown below

TC Icon

    • You will see the following screen:

Tourbo C Screen

    • Now, Click on File->New. Please find image below for your reference

Create new file

    • Write your C Program. Press F2 (or File->Save) to save your program. On pressing F2, pop window will open (as shown below). You need to specify the name of the program.
      For C Program, use .C as extension.
      For C++ Program, use .CPP as extension.

Save C Program

How to run a C Program using Turbo C++ Version 3.0?

    • Installing Tourbo C is very simple and effortless. Similarly, compiling and running C Program is very simple and effortless.
      Please make a note that, we can compile and run C Programs without saving it.
    • To compile a C Program you can either press Alt+F9 or Compile->Compile. After you compile your C Program you will see the following screen.

Compile C Program

    • To run a C Program you can either press Ctrl+F9 or Run->Run. After you run your C Program you will see the output screen as shown below.

Run C Program

These are the steps you need to follow to install, create and a run a C Program successfully. In case you have any queries related to installation then kindly post a comment. I will definitely reply to your queries.

You may also like...

128 Responses

  1. Paul says:

    Thanks a lot for such a wonderful and useful article. This article helped me alot as i am a beginner. I started learning C a month back and with the help of this site, I am very much confident with the basics of C.

  2. LearnCOnline says:

    You are welcome… 🙂

  3. pavan55 says:


  4. Anonymous says:

    Its very simple steps but more valuable. Thank you so much for your help.

  5. LearnCOnline says:

    Thanks a lot… If you like it then please tweet it… 🙂

  6. Anonymous says:

    Thank u very much 🙂 😀

  7. snehithan says:

    superb…really superb.

  8. morphues says:

    thiss is awesome…thanks but i am having this prob can u help me??…after running the program the output screen isnt coming although it is compiled succesfully pls help

  9. LearnCOnline says:

    Thanks a lot for appreciating. I you like the post then kindly click on Like button (facebook) on the top right and spread the word.

    @your query:
    use the syntax “getch();” at the end of the program code.
    The output screen will get displayed.


  10. Anonymous says:

    after runnig the programm m unable see the output

  11. LearnCOnline says:

    Can you please describe your query in details so that we can help you resolve it. Thanks.

  12. Arpit Garg says:

    Thanks a lot for your help…….

    i needed turbo C very urgent and i was not able to install it from the installation setup……

    Thanks again…..

  13. Anonymous says:

    my program isn’t running…there are no errors in my program

  14. loki says:

    after compiling the code what we written is compiling successfully but output screen not showing so please help me

  15. loki says:

    i downloaded the software turbo c++ in ur website only but it is not displaying the output screen so tel me whats the problem and what i must do?

  16. LearnCOnline says:

    at the end of your code… write the following code:

    hope your issue gets resolved.


  17. Anonymous says:

    hi all

    i need to know how run the program a bit slow…

  18. LearnCOnline says:

    use delay() function of “C”. E.g. delay(1000);

  19. Douglas says:

    Thanks a bunch…I am trying to learn the ropes with C++
    I have written a little program, did the compile, some errors were highlighted but am finding hard to get back to the original screen/program to make changes…please what do I do!!?

  20. LearnCOnline says:

    You will find a [x] button on the right top of the screen. Click on that button and you will see the code screen.
    Else go to file menu and click on open file and navigate to the location where you have saved your file and click open.

  21. Anonymous says:

    i’d rather use this than to other c++ programming ’cause this is what i only knows how to make it helpful for us.specially those I.T students.

  22. Anonymous says:

    I compiled a project and it was successfully compiled without errors or warnings… but when I put to run, a warning says ‘Unable to open input file ‘XXXX.cpp’….

    What do I do..?

  23. LearnCOnline says:

    Hi. This might be because of an issue in the code. Can reply with your code so that we can have a look at it and analyze.

  24. zeus says:

    my turbo c++ compiler is no t showing the output???
    i have re installed it but still same problem is occurring what shoul i do?

  25. Anonymous says:

    thanks alot

  26. Anonymous says:

    I created a .C file and run sucessfully. But nothing is visibile in screen. screen appeared and vanished immediatly without receiving and input and showing output. May I know what could be problem?

  27. LearnCOnline says:

    put the following line at the end of the code just before closing baraces


    The above issue will get resolved.


  28. Douglas says:

    Hi…also cannot see my C++ output – compile and make all successful.
    What do I do?

  29. Anonymous says:

    hi………. thanks a lot.

  30. Betty says:

    Hi, I tried installing on Windows 7 Professional OS. After unzipping files, I dont see the TC application icon to click on. Does this work on my OS also? i so what should I do to fix it?

  31. Anonymous says:

    MANISH; thanks a lot.
    u r very helpful to me
    keep it up

  32. Anonymous says:

    Thanks man i wish u live for 1000 years

  33. Anonymous says:

    thank you very much sir,

  34. LearnCOnline says:

    Thanks a lot everyone for your valuable comments.
    Please share the link with your friends if you like it.
    Many Thanks,
    Learnconline Team

  35. Anonymous says:

    Please help what do i do ? everytime i click the MS-DOS icon “C:\DOCUME~1\Pablo1\Desktop\TC.PIF
    Invalid program file name,please check your PIF file.Choose “close” to terminate the application” this stuff always pop out. Why ? Please Answers thanks.

  36. Anonymous says:

    I created a .C file and run sucessfully. But output is not visibile on vanishes as it appears on screen.
    i have used return 0..
    cn u tell me the problem

  37. LearnCOnline says:


    Try using getch() at the end of the code and then run it.


  38. Anonymous says:

    hiiii… i am not able to open file TC in my window xp….when i click on that TC file, it just blinks and then it is disappearing…what should i have to do?????

  39. niks says:

    Not working on my win7 64 bit..?

  40. i am getting output for simple addition program in c++ but i am not getting in C.wat to do?

  41. i m getting invalid directory after doing the installation process in c drive .wht to do

  42. POOJA says:


  43. POOJA says:


  44. Anonymous says:

    THANK U ….

  45. Anonymous says:

    THANK U …

  46. Anonymous says:

    my turbo c++ compiler is no t showing the output???
    i have re installed it but still same problem is occurring what shoul i do?

    i can also put getch(); in the end but it can not show output

  47. Anonymous says:

    I compiled the program , but after that , even though I press RUN , nothing is happening…

  48. Anonymous says:

    thanks very much

  49. pratham says:

    hae… I wrote my program & compiled it but it is not showing output and is saying “invalid directories”

  50. Anonymous says:

    helped me install C ,I must thank you for That.
    Also,Would it be possible to run it in fullscreen for windows 7??

  51. Anonymous says:

    i am getting some garbage values for my program even a single line printing also i am getting the same help me to solve it…
    thanks a lot in advance

  52. Anonymous says:

    i successfully installed the turbo c++ but when i open it, there’s no response on it ..

  53. jadid says:

    why is it that TC.rar only
    and i cannot extract it

  54. Anonymous says:

    plz tell how we open tc in bin folder?4 program compile nd run

  55. Anonymous says:

    we installed turbo c but why we open TC.rar?

  56. m a new user of c++ program…… so i want to ask u ….. u hv mentioned 2 point “”””Click on “TC” icon as shown below”””””
    m nt be able to finf dat icon in bin folder….so wot cn i do now

  57. urshariharan says:

    This website has taught me the basic important concepts of c in a very crisp and concise manner. Thanks a ton for the web author for making it easily digestable.

  58. Done
    This website taught me how to ……… C


  60. :
    Error NONAME00.CPP 4: Declaration terminated incorrectly

  61. Error NONAME00.CPP 4: Declaration terminated incorrectly

  62. Anonymous says:

    very useful site to learn c

  63. Nice work dear, if you got latest version then must share..

  64. Anonymous says:

    not working in windows 7 32 bit…giving error : function not there stdio n conio..

  65. Anonymous says:

    sir, how do i make a shortcut to opening TC.exe? besides, i am not even able to put the TC under the “open with” option that comes with the right mouse click..please help!!

  66. Anonymous says:

    thanx..excellent software.this is best site i have ever seen to learn c online

  67. Anonymous says:

    my programm compile success ful
    but not able to run that i m getting error that
    not able to make cos.obj file

  68. divyasri says:

    thank u so much. u clear my doubt

  69. im not able to run the programm, its getting compiled

  70. kanika says:

    i m unable to install turbo c on my lapy plz help me step by step.

  71. Anonymous says:

    i cannot run my programs..!! pls help

  72. Hi,
    full screen mode is not supported in this system occurs
    but i have used it earlier with no error can u fix and tell me

  73. My program is not working. I’m getting confused. Is there something wrong with it????

    void main ()
    clrscr ();
    getch ();

  74. Azarudeen S says:

    whether it will work in win 7 ?

  75. Azarudeen S says:

    whether it will work in win 7?

  76. Anonymous says:

    hey my turbo c is not running only. whenever i click on dat dos file..the screen remains black only.

  77. $ RAj $# says:

    i install turbo C++ ,when i complier the program a error show-unble to open include file “stdio.h” and
    fatel error -unable to create output file

  78. Ragi says:

    I have followed the instructions that you have given. So I can compile my C program but I cant run my program.While running it shows nothing.Please help me.

  79. Anonymous says:

    how to not full screnn the turbo c c++? please help

  80. Sumanth says:

    I tried it on Win 7.. says this version is not compatible .. can anyone help

  81. hey
    i successfully install it thanx for dat but one problm at complile time
    it unable to open include directories like
    what should i do plz help

  82. Anonymous says:


  83. Aarsh thakur says:

    i installed it successfully but the compiler says it
    cant find library files like iostream.h please help thanx

  84. Anonymous says:

    AwSum wrk…:):)..thnk u vry mch…:)

    pls brng C++ tutorials same as C plsssssssss….

    Thnkz once agn!

  85. LearnCOnline says:

    Thank you so much.

    We are currently working on C++ tutorial and we shall update you once the website is up and ready.

    If you find this website useful, please share it with others.

    LearnCOnline Team

  86. Anonymous says:

    hi when i am opening c++ its coming invalid drive or directory though my tc folder is in c drive…pl help

  87. Anonymous says:

    Full screen mode not working in my PC… what i do…

  88. atechplanet says:

    Thanx dear its much more helpfull.

  89. LearnCOnline says:

    Thank you everyone for the wonderful comments. I hope this website is helping every one out there.

    If you like this website, kindly share it with everyone.

    LearnCOnline Team

  90. Anonymous says:

    when i completed installation n try to open in bin directory … there is short cut of tc is created plzz… help me..

  91. S S PATIL says:

    hi i installed turbo c++ in my win 8..when i compile it get execute but when i do run the program using alt+f9 whole turbo screen will get close?

  92. shahabuddin hossain says:


  93. Anonymous says:

    All of you , be careful of
    Never miss the ();

  94. do turbo c++ works in windows 8

  95. Anonymous says:

    thank you very very much tomorrow is my project submission and somehow c++ software got deleted from my comp.but now i will be able to complete the project.god bless you!!

  96. im unable to find tc icon on my win7. plz do help me

  97. Anonymous says:

    this is the amazing site to help which person who don’t know about this


  99. LearnCOnline says:

    Use getch(); after the output command.

    LearnCOnline Team

    Learn C++ Online – visit


  101. Anonymous says:

    do graphics program run?

  102. sandeep says:

    In turbo c++ 3.0 on clicking tc.exe file, they give the error desktop loading error at bottom of tc editor in windows xp environment . what is a solution for open tc.exe without installing new tc compiler

  103. sandeep says:

    Borland Turbo C++ 3.0 opening problem giving error desktop loading error

  104. Niaz Hussain says:

    whICH R THEY ??? plZ TELL ME
    void main()
    cout>>”my name”;

  105. Anonymous says:

    Good one but….i dont know programming…can u help about programming?

  106. Matt says:

    I think this is among the most important info for me. And i
    am glad reading your article. But should remark on some general things, The website style is wonderful,
    the articles is really excellent : D. Good job,

  107. sajeesh says:

    i could not see the output of the program …… after runs the program without errors…

  108. sam says:

    how to download turbo c……. i need help…. i need it.. plz give that link… fast…

  109. Suresh says:

    Everything is fine for me however when I click the compile menu with the mouse, for the two times it is working for me but for the third time it doesn’t do anything… Alt+f9 is working fine for me by using keyboard.

    I am using windows 7 Pro and Windows 8.1 too…

    Please advice

  110. Sir i write program in TC IDE, compile successfully but cannot run without displaying any certain error.
    waiting for your +ve response.
    Best Regards: M Nasir

  111. Syed Ahmer says:

    Please told me what to do because When i click on TC,it is saying that the system file is not suitable for running MS DOS and other microsoft windows applications with two choices appearing close and ignore.I have clicked on both of them but there is no result.I am using windows XP.

  112. Dr.Code says:

    When I run this program in Turbo C/C++, This works when saved in .cpp extension but gives 3 or 4 errors while I try running this in the extension .c
    Please Help….
    /*Program to find out the factorial of a number.*/
    long int fact(int); // Declaring fact

    int main(void)
    int n;
    printf(“Enter a number : “);
    scanf(“%d”, &n);

    printf(“The factorial of %d is %ld.\n”, n, fact(n));

    return 0;

    // Defining fact function
    long int fact(int n)
    long int fact = 1;
    if(n == 0)
    return 1;
    for(i = n; i > 1; i–)
    fact *= i;
    return fact;

  113. kiran says:

    Thank u…. google,, for giving me this site in my top search list.
    best site to learn c ….

  114. Host says:

    i installed it but in bin folder i dont get any icon like shown… i have windows 7 ultimate so what to do now?

  115. Mohit says:

    I am having trouble with my turbo c++ software, when i try to open it it does not open and get disappear., what should i do..??

  116. Mohit says:

    I am having this problem in Windows 8.1 OS

  117. dark king says:

    i tried to install turbo c(using the above mentioned steps) in my laptop running 64 bit windows 8
    when i tried to run TC.exe it displays this app can’t run on your PC

  118. geeta says:

    Dear Admin.,
    I have installed turbo C++ successfully and have tried to execute below simple program but same got 3 errors as mentioned below.
    Please let me know the problem and do the needful.

    void main()
    printf(“Hello welcome”);

    Error 1: Unable to open include file ‘CONIO.H’
    Error 2: Unable to open include file ‘STDIO.H’
    Error 3: Function ‘printf’ should have a prototype

    • learnconline says:

      Hello, I guess you have installed turbo C++ incorrectly. It seems that turbo C++ is unable to locate the files “conio” and “stdio”. Please try re-installing it.

Leave a Reply

Your email address will not be published. Required fields are marked *

FREE C Cheatsheet - Speed Up Your C Programming.

FREE C Cheatsheet - Speed Up Your C Programming.

Download a 7-page free cheat sheet for easy and quick access to C Concepts, Snippets, and Syntax.

Thank you! Check you inbox and access your cheat-sheet