referring to this - http://publib.boulder.ibm.com/infoce...ef/cplr038.htm

"You must define the static member outside of the class declaration, in namespace scope." - namespace scope?

I tried to define a static member declared in a class in main() , and it gave me error, i also read somewhere that static members should always be defined in global scope.how does this all relate?