Results 1 to 1 of 1
I wrote a small c++ program for a class but when I go to compile and then run it I get permission denied.
What I typed:
g++ lab1.cpp -o lab1
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-20-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 8
Compiling C++ and java code problems
I wrote a small c++ program for a class but when I go to compile and then run it I get permission denied.
What I typed:
g++ lab1.cpp -o lab1
./lab1
I check and I am listed as owner of the file and it is set to be executable.
Also I can run java programs but I cannot run "javac" to create the .class files. What is it that I need to do?
Thanks for any help.


Reply With Quote
