Hello!!

Are you one of those people who is in the middle of a C++ program and you know what to do, but you don’t know the syntax? So you google and find out the syntax. But in turbo c++ you cannot use ctrl+v. That might be a little pissing off. So the easiest solution would be to get rid of Turbo C++ and get a modern day compiler. But anyway, here is a post on how one can copy text from an external source into the turbo C++ environment.

C++ is a very powerful language, but the Turbo C++ compiler is bloody ancient and very conservative. The Unix environment it has can be a pain in the neck sometimes. With the modern day compilers like C++ builder, eclipse, and stuff, programming in C++ has become so much easier. Unix environment is not really necessary to build an application. And these new compilers also have a lot of predefined functions for graphics, user interface etc.

Sometimes we want to write little complex programs or make console games using C++. But we are not qualified enough in the language. So we look for the code online as I mentioned earlier.

But the fact of the matter is, some of us are still obligated to use Turbo C++. Turbo C++ IDE does not allow us to use common windows functions like Ctrl + C and Ctrl + v.  Because it uses a UNIX environment. which is platform independent. Which means, the program development is done regardless of the operating system you are using.

So we have to find a way in which we can smuggle the text we want to copy into the Unix environment. The only file format that Turbo C++ supports is ‘.cpp’. So we need to convert it to ‘.cpp’ and only then can we smuggle it into the Unix environment.

Also see: How to use a text file as a database

So here is a quick and an easy way to do it. Follow the steps properly and it will definitely work. A lot of people commented that it doesn’t work, so I checked and corrected it. Now it is working perfectly. I tested it myself several times.



How to copy any text to turbo c++:

  • Copy the text
  • Paste it into notepad or notepad++
  • Save it as .cpp (not .txt)
  • Now copy this file to the BIN folder where you have installed Turbo C++
  • Open Turbo C++, go to FILE menu click on OPEN  and browse the file that you have saved 
  • Now open the file and select the text you want to copy in the coding section and go to EDIT menu and click on COPY
  • Now go to the program where you want to paste it and then go to EDIT menu and click on  PASTE
  • Then go to http://teckguide.blogspot.com/ and SUBSCRIBE 🙂

I hope that helped and now you know “how to copy any text to turbo c++”. For any other doubts in turbo c++ do not hesitate to ask in the comments. Or ask me personally on google+:  +Arjun Mahishi.

Categories: Uncategorized

18 Comments

kumaran dena · August 2, 2013 at 5:20 PM

its not working……………haa

teckguide · August 3, 2013 at 8:41 AM

Tell me what you exactly did?? did u follow every step properly?

Anonymous · December 9, 2013 at 11:02 AM

it is really not working…!!!

Arjun Mahishi · December 9, 2013 at 1:54 PM

try to browse the cpp file in turbo c++….this will work..

Anonymous · April 17, 2014 at 3:59 AM

its workkking

Anonymous · June 11, 2014 at 8:01 AM

its woking……………!!!!!!!!

Anonymous · October 30, 2014 at 4:23 PM

Please tell me how to delete and rename files in turbo c++??!!

Anonymous · October 30, 2014 at 4:33 PM

Please please please Please tell me how to delete and rename files in turbo c++??!!

Arjun mahishi · October 30, 2014 at 5:20 PM

Find the .CPP file in the BIN folder where you have installed turbo c++, and you can delete or rename your file there

Rahmath K · December 16, 2014 at 9:10 AM

Its not working…i can copy the text…but cant paste it in the file

Arjun Mahishi · December 29, 2014 at 12:08 PM

make sure you are following the steps properly. It should work

Arjun Mahishi · February 26, 2015 at 4:14 AM

In notepad, go to FILE > SAVE AS and in "Save as type", select "all files". Now in the "File name" type any name you want and add ".cpp" in the end. Example : "name.cpp"

Chandra Mouli · February 28, 2015 at 5:12 AM

This comment has been removed by a blog administrator.

Unknown · February 10, 2016 at 6:24 PM

thnksss…. its was very helpful to make my 12th practical for board

Arjun Mahishi · February 11, 2016 at 7:15 PM

You are welcome. Glad I could help!

leang heng · June 6, 2017 at 1:52 AM

Thanks for nice information sharing.
gclub casino
goldenslot casino
บาคาร่าออนไลน์

AMAN RAJ · June 23, 2017 at 3:41 AM

Is it possible to do programming in notepad++ ?
Because its blue colour is annoyus?

Arjun Mahishi · June 24, 2017 at 8:45 AM

Yes. You an always change the theme of your text editor. But my personal favorite text editor is sublime text. It is highly customizable.

Leave a Reply

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