There's nothing to give you a screen shot of; I only included enough in the code to test the MAX definition. The following code compiled in VS2005, and ran:
Code:
class stack
{
private:
	static const int MAX=10;  
	int st[MAX];
	int top;
public:
	stack():top(-1){}
};

void go4e_15170()
{
	stack foo;
}