News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

permission denied when try to run

Started by marbles, November 23, 2008, 05:27:40 PM

Previous topic - Next topic

marbles

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
#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

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."