Catzie.net Blog
Programming, Networking, and other Downloads by Catzie
 

Free Download of Turbo C++ 3.0 Compiler (With Install Instructions)

UPDATE: If you get the error Linker Error: Unable to open include file ‘C0S.OBJ’ while running your c program (or c++), please try copying the C0S.OBJ from the OBJ folder into the main folder of the compiler. The downloadable c/c++ compiler archive has been updated with this fix.

Note: The procedures on this post were tested on a computer running Windows XP and another which is running Windows 7 (both 32-bit and 64-bit). PLEASE make sure you follow the instructions carefully and copy the sample C program codes correctly before saying that what you downloaded doesn’t work. Thanks, and good luck. :)

Note for users of Windows 7 64-bit: You need to use DOSBox to emulate a 32-bit system because this compiler is not compatible with 64-bit. Install DOSBox, and mount your C:\ drive, or whichever drive you installed Turbo C in.

The download page for Turbo C++ 3.0 was one of the most popular pages in poochycat.com, my previous domain which had already expired.

(The rest of this post must be viewed to find the download links and installation instructions)

The Download Link:

Turbo C++ Compiler version 3.0 (On MediaFire) (74008)

That’s the C program compiler I used to use during my early college terms.

Installation Instructions

Last Updated: November 2011

  1. Download the archive from the link(s) provided somewhere at the top of this post.
  2. Unzip it and place the contents of the archive into a folder inside your Drive C. (e.g., C:\tcpp3)
  3. Please observe:


    The above is the TC.EXE file that you MUST run.

    The above is the TC Shortcut file, don’t use it.

    The compiler is the file named TC.EXE. Don’t confuse it with the TC shortcut! Simply double click on that and the compiler will run.

  4. Just before you type your C program code, please make sure you have the correct path for the INCLUDE Directory and LIBRARY Directory. You can check by clicking on Options -> Directories
  5. The path for the INCLUDE Directory must be C:\YourFolder\INCLUDE. For example, C:\tcpp3\INCLUDE. The file you downloaded uses tcpp3 as folder name, which is why I’m using the same folder name in my example. Please make sure you specify the correct path to the INCLUDE folder, this is crucial, or else it you would get errors. The INCLUDE folder should directly under tcpp3 folder, and tcpp3 folder is directly under your drive C folder.
  6. And the path for the LIBRARY Directory must be C:\YourFolder\LIB, for example C:\tcpp3\LIB. Again, check if you have the correct path to the LIB folder.
  7. Remember to change the YourFolder into the name of the folder you are using for your Turbo C++.
  8. You can now test a C program code. First, select File from the menu and choose new. Copy the sample codes at the end of this blog entry.
  9. After copying the codes, select Run from the menu, and choose Run. There should be an output of Hello World on the screen. The codes worked for me, please copy them carefully.

Hello World sample code for testing in C language


#include <stdio.h>
#include <conio.h>
int main(){
clrscr();
printf("Hello world!");
getch();
return 0;
}

Hello World sample code for testing in C++ language


#include
main(){
cout << "Hello World!";
return 0;
}

Auto-Generated Related Posts:


...

172 comments have been posted
catzie.net blog comment Add your comment



  1. udichi

    October 17, 2011 at 11:38 pm
    Permalink

    hey thanksssssssssss its working properly thankuuuu very much for helping me out.

    Well-loved. Like or Dislike: Thumb up 11 Thumb down 5


  2. Milad

    October 23, 2011 at 9:00 pm
    Permalink

    Hey man thank you so much for letting me to download this

    Well-loved. Like or Dislike: Thumb up 9 Thumb down 1


  3. Chin-Ai

    October 24, 2011 at 6:50 pm
    Permalink

    how to download dis?

    Like or Dislike: Thumb up 4 Thumb down 2


  4. smriti

    October 27, 2011 at 1:30 am
    Permalink

    dude its not working

    Hot debate. What do you think? Thumb up 8 Thumb down 6


  5. October 29, 2011 at 12:40 pm
    Permalink

    when i go to run a program then errors are occured…as like as stdio.h file could not found,conio.h file could not found…

    Hot debate. What do you think? Thumb up 3 Thumb down 5


  6. Updater

    November 3, 2011 at 5:02 pm
    Permalink

    Its working.
    Thanks

    Hot debate. What do you think? Thumb up 5 Thumb down 6


  7. ASISH

    November 5, 2011 at 8:45 pm
    Permalink

    Dude its nt wrkng

    Like or Dislike: Thumb up 3 Thumb down 3


  8. keval

    November 7, 2011 at 10:14 pm
    Permalink

    hey, thanks for the detailed instructions. But it doesn’t install successfully.shows a number of errors on trying to run the TC.exe file,with the options like ignore,cancel. The dialog box is headed with 16-bit dos error.Please help

    Like or Dislike: Thumb up 1 Thumb down 1


    • joy

      December 5, 2011 at 9:25 pm
      Permalink

      just click the ignore

      Like or Dislike: Thumb up 2 Thumb down 1


    • kabirkhan

      January 13, 2012 at 5:33 am
      Permalink

      hi friend how i download a program turbo C++ TC plz send some instructions.

      Like or Dislike: Thumb up 0 Thumb down 0


  9. kate

    November 10, 2011 at 5:54 pm
    Permalink

    its noooooooooooooooot working need help

    Like or Dislike: Thumb up 1 Thumb down 2


  10. Dinesh

    November 27, 2011 at 12:45 pm
    Permalink

    After extracting the file, while copying it to c drive, plz change the folder name from tcp3 to TC in c drive, once done you wont get any error like unable to open stdio.h, conio.h, etc……….

    Like or Dislike: Thumb up 2 Thumb down 0


    • Dinesh

      November 27, 2011 at 12:46 pm
      Permalink

      Change folder name from tcpp3 to TC

      Like or Dislike: Thumb up 2 Thumb down 0


  11. joy

    December 5, 2011 at 9:11 pm
    Permalink

    It doesn’t work. This message appeared. “this screen does not support fullscreen mode. Choose close to terminate the application.” What should I do. Pls help.. My whole classmate will benefit here.Pls help!

    Like or Dislike: Thumb up 0 Thumb down 0


    • Catzie

      December 5, 2011 at 9:31 pm
      Permalink

      I never encountered this problem so I’m not sure what to do. Maybe try running the compiler in compatibility mode? Or trying running it in a different screen resolution (try Alt + enter)?

      Like or Dislike: Thumb up 2 Thumb down 0


  12. sreiada

    December 8, 2011 at 5:47 pm
    Permalink

    thanks a ton!!! couldn’t have done it without you!!!!

    Like or Dislike: Thumb up 1 Thumb down 0


  13. joy

    December 8, 2011 at 10:24 pm
    Permalink

    catzie this is the error appeared when i try to run the program,
    1. unable to open include file “stdio.h”
    2. unable to open include file “conio.h”
    4. function “clrscr” should have a prototype
    5. function “printf” should have a prototype
    6. function “getch” should have a prototype

    pls help..thank you

    Like or Dislike: Thumb up 1 Thumb down 0


  14. joy

    December 8, 2011 at 10:25 pm
    Permalink

    these appeared when i try to run your example program
    #include
    #include
    int main(){
    clrscr();
    printf(“Hello world!”);
    getch();
    return 0;
    }

    Like or Dislike: Thumb up 0 Thumb down 0


  15. joy

    December 8, 2011 at 10:42 pm
    Permalink

    main file: NONAME00.CCP
    compiling: EDITOR ->NONAME00.CCP

    LINES COMPILED: 6
    WARNINGS:0
    ERRORS: 5

    AVAILABLE MEMORY: 1901K

    what thus it mean? pls help

    Like or Dislike: Thumb up 0 Thumb down 0


  16. joy

    December 9, 2011 at 12:46 am
    Permalink

    Catzie

    Hi i already used the turbo C++ thanks just one more question pls. what should i do if the error is function ‘clrscr’ should have a prototype? and function ‘getch’ should have a prototype?

    pls help disregard my two previous question i already used the c++

    Like or Dislike: Thumb up 0 Thumb down 0


    • sandeep

      December 13, 2011 at 4:11 am
      Permalink

      header file use kr joy error out ho jayegi

      Like or Dislike: Thumb up 0 Thumb down 0


  17. December 23, 2011 at 4:47 pm
    Permalink

    bkit ayaw maopen ng tc?

    Like or Dislike: Thumb up 0 Thumb down 0


  18. December 23, 2011 at 4:49 pm
    Permalink

    pahelp!

    Like or Dislike: Thumb up 0 Thumb down 0


  19. mubashar

    January 7, 2012 at 12:00 pm
    Permalink

    linker error :unable to open file ‘GRAPHICS.LIB’
    what i do?plz help me

    Like or Dislike: Thumb up 0 Thumb down 0


  20. RAVINDRA

    January 8, 2012 at 12:45 am
    Permalink

    its not working

    Like or Dislike: Thumb up 0 Thumb down 0


  21. Yasir

    January 13, 2012 at 2:57 pm
    Permalink

    Can someone please help me solve twp C++ errors in my program?

    Here it is:

    #include
    #include
    #include
    #include
    #include
    #include
    struct customer
    {
    char name[20];
    char address[40];
    int phno;
    };
    class dominos
    {
    customer r;
    public:
    void getdata();
    void print();
    unsigned long int getno()
    {
    return(r.phno);}
    void modify();
    }s;
    void dominos::modify()
    {
    cout<<"Enter new details:";
    char na[20],add[40];
    long int pno;
    cout <<"\tNew name : (enter '.' to retain old one) \t";
    gets (na);
    cout << "\tNew address : (enter '.'to retain old one) \t";
    gets(add);
    cout <> pno;
    if(strcmp(na,”.”) !=0)
    strcpy(r.name,na);
    if(strcmp(add,”.”)!=0)
    strcpy(r.address,add);
    if(pno !=0)
    r.phno=pno;
    }
    void start();
    void mainmenu();
    void getdata();
    void add();
    void search();
    void menu();
    void system();
    void order();
    void display();
    void print();
    void delet(long);
    void modif(long);
    void count();
    void mainmenu()
    {
    clrscr();
    int ch;
    do
    {
    cout << "1. To add a new customer." << endl;
    cout << "2. To search a customer." << endl;
    cout << "3. To display the records." << endl;
    cout << "4. To take order." << endl;
    cout << "5. To count the records." << endl;
    cout << "6. To exit" << endl;
    cout << "Enter your choice(1/2/3/4/5/6):" <> ch;
    switch(ch)
    {
    case 1: add();
    break;
    case 2: search(); break;
    case 3: display(); break;
    case 4: menu();
    char ch;
    cout<> ch;
    if ((ch==’y') || (ch==’Y'))
    order();
    else
    cout << "Thank you for visiting.";
    break;
    case 5: count(); break;
    case 6: exit(0); break;
    }
    while(ch!=6);
    cout << "Record not found.";
    getch();
    }
    void dominos :: getdata()
    {
    gotoxy(20,7);
    cout << "Enter name of customer:";
    gets(r.name);
    gotoxy(20,9);
    cout << "Enter address of customer:";
    gets(r.address);
    gotoxy(20,11);
    gotoxy(20,13);
    cout <> r.phno;
    }
    void add()
    {
    char ch; static int c=0;
    ofstream fo(“customer.dat”, ios::app);
    do
    {
    clrscr();
    s.getdata();
    fo. write ((char*) &s, sizeof(s)); c++;
    cout << c << "Customer details added." << "\n";
    cout <> ch;
    }
    while (( ch==’y') || (ch ==’Y'));
    fo.close();
    count();
    getch();
    clrscr();
    }
    void menu()
    {
    clrscr();
    cout << "Menu" << "\n" << "\n" << "\n" <<"\n";
    cout << "Pizza name:- cost(rs.)"<<"\n"<<"\n";
    cout << "1 Veggie Crunch(veg) 350" << "\n";
    cout << "2 Veggie Lovers(veg) 425" << "\n";
    cout << "3 Country Feast(veg) 450" << "\n";
    cout << "4 Veggie Supreme(veg) 470" << "\n";
    cout << "5 Exotica(veg) 470" << "\n";
    cout << "6 Fiery Chicken(non veg) 350" << "\n";
    cout << "7 Peproni(non veg) 485" << "/n";
    cout << "8 Chicken Supreme(non veg) 485" << "/n" << "/n";
    }
    void order()
    {
    int count=0, vat=0, totbill=0, choice;
    char more,confirm;
    x:
    cout <<"Which pizza would you like to order?" <> choice;
    switch(choice)
    {
    case 1: count=count+350; break;
    case 2: count=count+425; break;
    case 3: count=count+450; break;
    case 4: count=count+470; break;
    case 5: count=count+470; break;
    case 6: count=count+350; break;
    case 7: count=count+485; break;
    case 8: count=count+485; break;
    }
    cout << "Do you want to order more(y/n)?" <> more;
    if (more==’y')
    goto x;
    vat=0.125*count;
    totbill=count+vat;
    cout << "Total bill amount=Rs." << totbill << "\n";
    cout <> confirm;
    if ((confirm==’y') || (confirm==’Y'))
    {
    cout <<"Your total amount is Rs." << count << "\n" << "\n";
    cout << "Value added tax(vat) Rs." << vat << "\n" <<"\n";
    cout << "Your total bill amount with taxes is Rs." << totbill << "\n"<< "\n";
    cout << "Your order shall be delivered to you in about 30 minutes." << "\n" <<"\n";
    cout << "Thank you for calling domino’s. . . . . .good times start with great pizzas." << "\n" <<"\n";
    getch();
    }
    if ((confirm=='n')||(confirm=='N'))
    menu();
    }
    void system()
    {
    start();
    mainmenu();
    }
    void display()
    {
    clrscr();int c=0;
    ifstream fi("customer.dat",ios::in);
    fi.seekg(0,ios::beg);
    while(!fi.eof())
    {
    fi.read ((char*) &s, sizeof(s));
    cout << c << ":";
    s.print();
    c++;
    cout<< "\n" << "\n";
    }
    fi.close();
    getch();
    }
    void dominos::print()
    {
    cout<<"Customer name :-"<<r.name<<"\n"<<"Address:-"<<r.address<<"\n"<<"Phone number:-"<<r.phno<<"\n";
    }
    void main()
    {
    clrscr();
    system();
    }
    void delet(long pos)
    {
    ifstream fio("customer.dat",ios::in);
    ofstream fot("temp.dat",ios::out);
    long po;
    fio.seekg(0);
    while(!fio.eof())
    {
    fio.read((char*)&s,sizeof (s));
    po=fio.tellg();
    if(po == pos)
    continue;
    else
    fot.write((char*)&s,sizeof (s));
    }
    fio.close();
    fot.close();
    remove("customer.dat");
    rename("temp.dat","customer.dat"); fflush(0);
    }
    void modif(long pos)
    {
    cout << pos << endl;
    fstream fio("customer.dat",ios::out || ios::app); fflush(0);
    fio.seekp(0,ios::beg);
    s.modify();
    fio.seekp(pos,ios::beg);
    fio.write((char*)&s,sizeof (s));
    getch();
    }
    void start()
    { gotoxy(10,2);
    cout <<" xxx " ;
    gotoxy(10,3);
    cout << " xxxx " ;
    gotoxy(10,4);
    cout <<" xxxxxxxx " ;
    gotoxy(10,5);
    cout <<" xxxxxxxxxxxx " ;
    gotoxy(10,6);
    cout <<" xxxxxxxxxxxxxxxx " ;
    gotoxy(10,7);
    cout <<" xxxxxxxxxxxxxxxxxxxx " ;
    gotoxy(10,8);
    cout <<" xxxxxxxxxxxxxxxxxxxxxxxx " ;
    gotoxy(10,9);
    cout <<" xxxxxxxxxxxxxxxxxxxxxxxxxxxx ";
    gotoxy(10,10);
    cout <<" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ";
    gotoxy(10,11);
    cout <<" xxxxxxxxxxxxxxxxxxxxxxxx ";
    gotoxy(10,12);
    cout <<" xx xxxxxxxxxxxxxxxxxxxxxx xx ";
    gotoxy(10,13);
    cout <<" xx xx ";
    gotoxy(10,14);
    cout <<" xxxxx xx xxxx xxxx xxx ";
    gotoxy(10,15);
    cout <<" xx x xx x x xx xx ";
    gotoxy(10,16);
    cout <<" xx x xx x x xxxxxxx ";
    gotoxy(10,17);
    cout <<" xx xx x x xx xx ";
    gotoxy(10,18);
    cout <<" xx xx xxxx xxxxxx xx ";
    gotoxy(10,19);
    cout <<" xx xx xx xx xxxxxx ";
    gotoxy(10,20);
    cout <<" xx xx xx xx xxxxxx ";
    gotoxy(10,21);
    cout <<" xxxxxxx xx xx xx ";
    gotoxy(10,22);
    cout <<" xx xx xx xx xx ";
    gotoxy(10,23);
    cout <<" xx xx xxxxxxxx xx ";
    gotoxy(10,24);
    cout <<" xx ";
    gotoxy(10,25);
    cout <<" xx xx ";
    gotoxy(10,26);
    cout <<" xx xx ";
    gotoxy(10,28);
    cout <<" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ;
    gotoxy(10,29);
    cout <<" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ;
    gotoxy(10,30);
    cout <<"\n"<<"\n";
    cout <<" branch manager:-"<<"\n";
    cout <<" sushant"<<"\n";
    cout <<" (press enter to continue)";
    getch();
    }
    void search()
    {
    clrscr(); fflush(0);
    unsigned long int cphno;
    long pos;
    char ch;
    int modchoice;
    char found='n';
    ifstream fi("customer.dat", ios::in);
    cout <> cphno;
    while(!fi.eof())
    {
    fi.read((char*) &s, sizeof(s));
    if(s.getno()==cphno)
    {
    s.print();
    found=’y';
    pos=fi.tellg(); cout <<"recrd fount at" << pos << endl;
    cout << "\n Do you want the modify the record (y/n)?" <> ch;
    if (ch==’y’ || ch==’Y')
    {
    cout << "\n Enter your choice for modification:-"<<"\n";
    cout <<"1 Modify" << "\n";
    cout <> modchoice;
    switch(modchoice)
    {
    case 1:modif (pos); break;
    case 2:delet(pos); break;
    default: cout << "invalid choice.";
    }
    }
    break;
    }
    }
    fi.close();
    if(found=='n');
    };
    void count()
    {
    clrscr();
    int count=0;
    ifstream fi("customer.dat" , ios::in);
    fi.seekg(0,ios::beg);
    while(!fi.eof())
    {
    fi.read((char*) &s,sizeof (s));
    count++;}
    cout<<"\n total no of records in file is :"<<count;
    fi.close();
    getch();
    };
    }

    Like or Dislike: Thumb up 4 Thumb down 2


  22. January 19, 2012 at 9:43 pm
    Permalink

    please give me the software of c language because i will use the the programming with c

    Like or Dislike: Thumb up 0 Thumb down 0


  23. Priya

    January 20, 2012 at 9:58 pm
    Permalink

    when i run tc.Exe
    it displays an error message that not compatible in win &

    Like or Dislike: Thumb up 0 Thumb down 0


  24. Priya

    January 20, 2012 at 9:59 pm
    Permalink

    when i run tc.Exe
    it displays an error message that not compatible in win 7

    Like or Dislike: Thumb up 0 Thumb down 0


  25. Lars Garefelt

    January 24, 2012 at 3:48 am
    Permalink

    I have Windows XP Pro. Just for fun,
    I tried my old version of Turbo C++
    version 1.0… in the Safe Mode and
    it seemed to be working. I didn’t
    test it thorougly though. Anyway, it doesn’t work in the normal mode;
    I just get some stupid comment.
    My guess is that some old
    dos-programmes can be run in the
    Safe Mode in XP Pro.
    What do you think of it?

    Lari G.

    larifelt@fastmail.fm

    Like or Dislike: Thumb up 0 Thumb down 0


  26. valencia

    January 25, 2012 at 10:07 pm
    Permalink

    plzz help…..i tried with naming d folder as TC also….bt still same error
    1. unable to open include file “stdio.h”
    2. unable to open include file “conio.h”
    4. function “clrscr” should have a prototype
    5. function “printf” should have a prototype
    6. function “getch” should have a prototype

    pls help..thank you

    Like or Dislike: Thumb up 0 Thumb down 0


  27. Priyanshu

    January 26, 2012 at 9:26 pm
    Permalink

    qa bakwaas hai…! its showing “Attempt to access invalid address”

    Like or Dislike: Thumb up 0 Thumb down 0


  28. aditya

    February 2, 2012 at 1:18 pm
    Permalink

    hey niggas..even 4 me it dinot work..but ive got the solution..
    rename ur TC to TC.EXE
    n ul c it workin..big mama..

    Like or Dislike: Thumb up 0 Thumb down 0


  29. muthu pandi

    February 7, 2012 at 11:21 am
    Permalink

    I need a help please anyone solve me
    catzie this is the error appeared when i try to run the program,
    1. unable to open include file “stdio.h”
    2. unable to open include file “conio.h”
    4. function “clrscr” should have a prototype
    5. function “printf” should have a prototype
    6. function “getch” should have a prototype
    reply me immediately

    Like or Dislike: Thumb up 0 Thumb down 0

...

Post a Comment


*
*

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