Hello , I a creating program in witch objects are stored in the namespace var in var.h. How do I make the var namespace available to more than one file without having redefinition errors ?
### var.h ###
namespace var
{ ... }
### main.cpp ###
#include "var.h" //multiple redefinition error
...
### engine.cpp ###
#include "var.h" //multiple redefinition error
...
### objects.h ###
#include "var.h" //multiple redefinition error
...