Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Compilation error in Geany I'm having trouble compiling a simple C++ program in Geany. The result is same even if i just use terminal(not using Geany).

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Did you install build-essential package?

sudo apt-get install build-essential 

It contains gcc and g++ compilers for C and C++ languages respectively.

share|improve this answer
    
Nope, just found out that, g++ isn't installed by default. I thought it comes by default with linux. –  Kanthala Raghu Oct 23 '13 at 3:44
    
@KanthalaRaghu, you can accept and upvote an answer. If you aren't doing one or the other, it would be helpful to the person who took the effort to answer to know in what way the answer was deficient. –  user25656 Oct 23 '13 at 4:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.