I'm writing a program for a class where I have to make a stack and do some stuff with it. I got it all done and it runs fine when I compile it, but I'm getting a warning about my MAX_STACK. I try initializing it in the header file like it is below and I get the warning, but if I don't initialize it and instead try to initialize it in one of the constructors I get an error.
Normally I wouldn't care about this, but I have to transfer the code to Linux and it won't transfer because of this error, "error: ISO C++ forbids initialization of member MAX_STACK" is what it says.
If you need to see my public functions or my main file I can put those in too but I feel like it should just be a straightforward fix that I'm not getting.