Errors with creating header files

I appreciate you pointing that out. It’s a shame that it’s a joke video.

However, that linked video doesn’t really provide a solution either.

I remembered that I had encountered this exact issue way earlier in the course, and it was resolved modifying my tasks.json per this thread:

Which looks like it got the code from here:

Except my tasks.json is still showing that correct arguments for working within the directory or utils directory, and when I go back to trying to import greet.hpp and utilizing it, I am still getting “undefined reference” messages.

I did even more digging and found that, as long as the tasks.json is configured correctly, running the code will throw the error but running it through the Run and Debug menu in VSC will build and run everything correctly. Nowhere have I found where this is explicitly stated, but this video had a user running the code from the Run and Debug menu so I decided to try it and it’s what works.