I’m not sure if I understand the question, but I would say yes, they are optional. You could write all of your (custom) functions, classes, etc. in one file if you wanted.
solved In C++, are custom header files optional? [closed]
I’m not sure if I understand the question, but I would say yes, they are optional. You could write all of your (custom) functions, classes, etc. in one file if you wanted.
solved In C++, are custom header files optional? [closed]