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.
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.
Have a look at these questions, there are many great tools for programming described:
What developer text editors are available for Ubuntu?
What IDEs are available for Ubuntu?
I hope you will find there something that suits your needs! :)
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.
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.
g++
for C++ programs. It's what my university instructors asked us to use when coding in an RHEL environment.
Dec 6, 2012 at 22:57
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...
And don't listen to people that tell you that you should not use IDE's if you want to be a better programmer, that's just plain stupid. IDE's don't write code for you, they just make it easier for you to refactor your code and to read it easier(and a few more features that anyway don't write code for you)...
Anyway, if you want that much to run or test your programs on Windows(in a Linux machine) and only if you have a pretty powerful computer, you can use a virtual machine like: VirtualBox or VMWare Player.
For example, when I have to write Oracle SQL PL/SQL Procedures I run Windows in VirtualBox with Seamless Mode activated and it works pretty well for me...
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 sudo apt-get install build-essential clang