Hi,
I have gathered all my constants in one “.h” file and I want to use them in my classes, which are all in a directory called “Classes”. The problem is about the scope. The “Constants.h” is at the same level as “Classes”’s directory, so that my classes do not see “Constants.h”:
The case is like this:
My_project\Classes\class_a.h
My_project \Classes\class_a.cpp
My_project\Constants.h
What include-path should I use for my classes to have access to the constants?
In addition, must my constants be static?
Thanks,
FloatingPoint