News:

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

Main Menu

Problems with Code Blocks on macbook pro

Started by vincentfiorilli, January 03, 2013, 02:30:38 AM

Previous topic - Next topic

vincentfiorilli

Hey I have a macbook pro 10.7.4.  Today I downloaded Xcode and codeblocks and I am having trouble having my simple program run.  The program is this out of my textbook

#include <iostream>
using namespace std;
int main ()
{
cout << "Welcome to computer programming!";
return 0
}

When I type this into code blocks and click compile then run I get this:

Last login: Wed Jan  2 20:18:59 on ttys000
vincent-Fiorillis-MacBook-Pro:~ vincentfiorilli$ /Users/vincentfiorilli/Documents/project1
-bash: /Users/vincentfiorilli/Documents/project1: Permission denied
vincent-Fiorillis-MacBook-Pro:~ vincentfiorilli$

I don't know why i'm being denied.Some one help please...