Tuesday, March 18, 2014

Use copied code on Turbo C

I've posted a code of C programming for beginners. Did you practice that? Did you get success to use copied code directly on your compiler?
If you use Turbo C compiler you’ll not be able to paste directly on your project editor copied from anywhere. There is a trick for you. I’m now going to tell you the secret.
If you use Turbo C compiler, just copy the code from anywhere. Now create a text file. It’ll appear to you as New Text Document.txt. Now rename it as New Text Document.CPP . Here you've to change the extension. After that, paste your copied code in this file. Now copy the file and go to your drive where you installed the compiler. Search a folder named “BIN”. Open the folder and paste the New Text Document.CPP file.

Completed! Now run your Turbo C compiler. Go to file menu, Click on open, search the file New Text Document.CPP and open it. You’ll get the code you copied from other side. Now compile it, run and enjoy. 

0 comments:

Post a Comment