Hi all,
I'm a c++ beginner (coming from java) and I'm struggling to understand what the directive "#define __RESOURCE_H__" in the code below does.
I understand this could sound like a silly question, but I can't find any other reference to __RESOURCES_H__ in all the rest of the program sources and I don't understand the need of it.
The C/C++ header and source file system is widely agreed to be bad, and currently the C++ standards committee is working toward a new Modules system that will be more like other languages you are familiar with. However, headers will remain for many years.