Welcome fellow students, register yourself and dive into asking questions, giving answers and helping the community learn with you.

I am getting an error in the appliance saying nothing can be done with the file when I try to compile mario.c

0 votes
asked Jun 17, 2015 in Pset1 by michael103 (120 points)

It tells me nothing to be done to the file and also it tells me access is denied.

1 Answer

+1 vote
answered Jun 19, 2015 by Faïza Harbi (11,960 points)
Aha! Did you type  make mario.c ?

Because if so, you must not add the .c it's:

make mario

./mario 5 (as a height)

 

Be also sure that you're in the right directory (not in (~):

To know where you are, type in the prompt pwd and it will display you where you are.

If it's the second option, move your mario.c to the right folder, as per the specifications in pset1
Welcome to CS50xHelpers Q&A, where you can ask questions and receive answers from other members of the community.

343 questions

248 answers

217 comments

7,002 users

6 Online
0 Member And 6 Guest
...