Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Most of the times it doesn't run. When I do some random things like clean project, restart eclipse etc, it does run and when I change the code and save it, it again doesn't run.

I'm using it on Ubuntu to run the following code:

//============================================================================
// Name        : Hello.cpp
// Author      : 
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
#include <string>

using namespace std;

int main() {

    cout<<"ss";
    return 0;
}

And I get the following error messages when I press Ctrl+F11: enter image description here enter image description here

And by the way, I have barely changed anything since the last time it run. Can anyone tell me if I should give up and use something else?

I am mainly trying to get this thing work because i LOVE the Java debugging ability on Eclipse and I was hoping I could do that with ease with C++ too.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.