Author Topic: permission denied when try to run  (Read 3134 times)

marbles

  • Guest
permission denied when try to run
« on: November 23, 2008, 05:27:40 pm »
I'm new to C++ programming and i installed Code blocks onto ubuntu to use while learning.
I used a small bit of code which i got from cprogramming.com website but when i click build and run it comes up in a little black box saying

"sh: home/max/documents/ applications/ firstapp: Permission Denied

Press ENTER to continue."

the code i used was
Code
#include <iostream>

using namespace std;

int main()
{
  cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
  cin.get();
}

to open a new file i clicked file-new-empty file..

can anyone help me out please..

thanks

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: permission denied when try to run
« Reply #1 on: November 24, 2008, 09:28:57 am »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."