I installed Dev C++ using Wine on Ubuntu 18.04 and the program is compiling but it not showing any output screen.
2 Answers
Code::Blocks from the default Ubuntu repositories is an alternative to Dev-C++ with similar features. Code::Blocks is a cross-platform Integrated Development Environment (IDE). It is based on a self-developed plugin framework allowing unlimited extensibility. Most of its functionality is already provided by plugins. Plugins included in the base package are:
- Compiler frontend to many free compilers
- Debugger frontend for GDB
- Source formatter (based on AStyle)
- Wizard to create new C++ classes
- Code-completion / symbols-browser (work in progress)
- Default MIME handler
- Wizard to create new Code::Blocks plugins
- To-do list
- Extensible wizard based on scripts
- Autosave (saves your work in the unfortunate case of a crash)
Compare this functionality to the functionality of Dev-C++ and you'll see the resemblance, so it's worth a try.
To install Code::Blocks open the terminal and type:
sudo apt install codeblocks g++ xterm gdb # optional g++-8
- 122,292
- 133
- 301
- 332
Ubuntu's official repository still has Code::Blocks 16.01 but the latest is 17.12. The command provided by Karel in this answer will install Code::Blocks v16.01. To install Code::Blocks v17.12, download it from here. Then run:
tar -xf codeblocks_17.12-1_amd64_stable.tar.xz
sudo dpkg -i *17.12*.deb
sudo apt-get install -f
Reference: N0rbert's answer
- 18,154