Original Post
I have a simple question. I'm wondering if "#define" and "#include" should be inside or outside my namespace in the headers. I understand all "#include " should be outside namespace. like this: or like this:
#include "myotherheader.h"
#define PI 3.14
#define APP_VERSION 0.1
namespace myNamespace
{
// my classes and stuff
}
namespace myNamespace
{
#include "myotherheader.h"
#define PI 3.14
#define APP_VERSION 0.1
// my classes and stuff
}