Jump to content
using terminal in ubuntu linux 10.10 for C programming
Asked by Hazique Quazi
Posted Nov 20 2010 05:52 AM
i.ve just installed the latest ubuntu linux 10.10 inside windows as a program. i want to know is it possible to use the terminal for c programming. If possible, how?
Also i've installed the Code Blocks IDE from the Ubuntu Software Centre. But the code is neither compiled nor run. How can i make Code Blocks work?
Answered by mikeHg
Posted Dec 31 2010 04:28 PM
I personally don't know how to do c/++ programming in the terminal itself, but you can program with the gedit text editor (just remember to specify the file as .c/pp).
As for Code::Blocks not compiling, you might want to try installing the build-essential package. Command in the terminal would be:
$ sudo apt-get install build-essential
say yes to the question they ask and wait.