title: simple hello world in c++ using eclipse getting error bin bash permission denied
body: <p>i'm working on a project programmed in c++, and don't ask why, i have to work on linux. </p>
  
  <p>I've installed eclipse 3.7.2, i assume the latest version up to date. </p>
  
  <p>In my ignorance, i started to work on the project when i realized i couldn't even compile. So i started with a simple hello world to see whats up. Created new project, done, new source file cpp, done, code a hello world, done. </p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  int main() {
  
  cout &lt;&lt; "hello world :( ....." &lt;&lt; endl;
  return 0;
  
  }
  </code></pre>
  
  <p>This is the code. Yet when i to run it after it's compiled i get this error:</p>
  
  <pre><code>/bin/bash: /media/....../myprojectname: Permission denied
  /bin/bash: line 0: exec: /media/....../myprojectname/Debug/myprojectname: cannot execute: Permission denied
  </code></pre>
  
  <p>I've already made research on this, but I'm not really experienced, more like college knowledge, but all the threads I read about it suggested trying to compile with makefiles (which i know nothing about it, and eclipse is there for it) and even though, that didn't fixed it, for what I read.</p>
  
  <p>I've never had a problem doing this on eclipse for windows, and this is my first try on linux. For what I've also read, it seems it has to do with linux permissions... but then again not my greatest strength.</p>
  
  <p>I guess my question is, how can I code a simple hello world using c++ and using as editor eclipse, and then make the program to just run.</p>
  
  <p>Thanks in advance!</p>