News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

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