Hot answers tagged

2

Ahh I figured it out! Instead of using ~/pset1/hello/ $ go back to just the directory pset by using change directory ~/pset1/hello/ $ cd ~/pset1/ then add your ls command ~/pset1/ $ ls hello/ hello.c then compile ~/pset1/ $ clang hello.c adds the machine code to your directory and then you can execute! My only questions now is about the hello/ . ...


1

Are you using CS50 ide ? #include <cs50.h> This library will only work if you use CS50 ide for compiling your code, otherwise it will not compile


Only top voted, non community-wiki answers of a minimum length are eligible