This presumably includes our header, what is the difference between
the #include "..."
and #include <...>
lines? We have used the
former on our own header, the latter on a system header, is that it?
Yes that’s the idea, you can add paths to either the user or system header locations, but the default system headers include the standard library and installed software (if it has headers), and the current directory is always searched for user files.
🐶
I recommend having a terminal open with
gcc hexdump.c -o hexdump && ./hexdump
typed in to compile and run it in one go. Then when you change the file, you can just switch over, press enter, and use the up arrow to get that text back. If that is too much effort, you could try using entr, something likeecho hexdump.c | entr sh -c 'gcc hexdump.c -o hexdump && ./hexdump'
should work.