0

enter image description here

Im currently working on Lab 1 regarding the population size of llamas, and everything went smoothly however even though I am in the population_size folder and inside the file population.c right now, when i try to compile and run ./population, it always shows the same error of no such file or directory. How should I go about fixing this, would appreciate any help possible thank you!

1 Answer 1

0

there are two problems here. First of all, "./population" is the command to execute the compiled program, not to actually compile it. The correct command is "make population"

The other problem is that you're in the root directory, not the directory that contains the source code file.

cd population_size

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .