Ask coding questions

← Back to all posts
how to use cs50.h library or any custom .h header file
iairsalem (4)

I need to use the Shell so I guess I have to compile the .c files myself.
here, it's only one .c file, but I have to use cs50.h library (available on github).

When trying to compile manually (with clang) I ran into a lot of issues. I tried compiling the .h file first (to pch) and it compiled, but when trying to compile the .c error after error.

Is there a simple way to have it working?