Not what you’re looking for but: use Conan and a third party library. Your problem is not properly defined and my first reaction is “WHY do you want to store headers?” Why? You have a solution in search of a problem. Why? What do you really want to do? What are you trying to achieve? Go further in your investigations because “storing headers” is not your purpose in life, think bigger, higher level!
Do it in Python. It’s a PITA in C++ if you don’t know that language. Read A Tour of C++ instead.
Python for the web, C++ for everything else. C++ is still popular, especially the modern version and you’ll get a good salary. But you should learn HTTP with other tools like Python.
With both Python and C++ skills, you’ll get jobs everywhere. Python for tools and CI, C++ for applications.
Thank you for your advice, I've experimented with python, but I couldn' really read and understand how more complex examples work. I tried to implement backpropagation shown in a python example and couldn't, because it wasn't clear what type each variable was. I like C++ mutch more and I think I'm not a beginner at this point. Would you mind answering how important do you think are these coding projects for getting a job?
Every personal project is good as long as you try to make it professional. It doesn't need to be perfect but you can show that you made an effort to clean your stuff. I'm biased because I've been doing C++ for a long time, but every language is worth it. Also what I'm saying may be specific to my location and kind of job, but I tend to think it's kind of universal. To get a job, you need to show that you have a broad view of the software ecosystem.
For example for C++, you can do:
C++ code, maybe built with CMake or SLN because those are universal tools
linter and formatting (clang format, cppcheck, SonarLint, etc.)
good commits and branching strategy
some comments in your code
some documentation
unit-tests
maybe some scripts in Python for the CI
use a package manager like Conan or VCPKG because any company will pick random libraries all over the internet, you can't do everything from scratch
I think it applies to every language, just change C++ to any other language but the other bullet points don't change. And if you have some code to review, post it here and we'll read it like a real "merge request," it can be interesting.