How can I use Windows apps like Turbo C++ on Ubuntu? Wine says "not applicable on your PC", or something like that.
I need to specifically use Turbo C++ on Ubuntu for my coursework.
|
|
Use command line, gcc is the best, it helps you learn programming and debugging. Use an editor like gedit, save the file then compile using command line. |
|||||||||||||
|
|
Have a look at these questions, there are many great tools for programming described: What is a good text editor for developing code on? What IDEs are available for Ubuntu? I hope you will find there something that suits your needs! :) |
|||
|
|
|
You can use an editor like QtCreator or NetBeans. Turbo C++ doesn't have a lot of non standard libraries so you should be Ok using QtCreator or NetBeans with the GCC compiler instead of Turbo C++ compiler. Sure, if you need libraries like: graphics.h or conio.h you would not find them on Linux and I don't recommend you to get used to this libraries, you will have hard time when you will get out to the real world... |
|||
|
|
|
If you're making a larger program, it might be helpful to use CMake. This will let you use some simple scripting of CMake which will let you generate a solution for your C++ project. CMake can generate solutions for Visual Studio, Codeblocks, and other IDE systems. It is also cross-platform which will allow you to work and develop the code on any operating system you use. |
|||
|
|
|
I would suggest using Clang or GCC instead. Much more modern and current than Turbo C++, and can run natively on Linux. Clang in particular is a pleasure to use if you are studying either C or C++ since it's error messages and warnings are much easier to understand. Install with |
|||
|
|