Turbo C++ 3.0 Compiler

DOWNLOAD
CLICK HERE
Installation Instructions

Download the archive from the link(s) provided somewhere at the top of this post.
Unzip it and place the contents of the archive into a folder inside your Drive C. (e.g., C:\tcpp3)
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.
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…
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.
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.
Remember to change the YourFolder into the name of the folder you are using for your Turbo C++.
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.
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
#include
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;
}

No comments:

Post a Comment

 
;