Hello I am trying to make a game and i disided to break it up into several files using headers to hold all the variables and that kind of stuff but i need to include the headers into all of the CPP files so i know i need to use inclusion guards but they just dont seem to work at all. its like the preprocessor just skips over the #ifndef command can some one help me with this?
i have a book that says to use this set up:
Code:
#ifndef Lybraries_h // the book says that the file name does need to be capital
#define Lybraries_h
// everthing here
#endif