<P> Scope is also affected by sigils which preface variable names: </P> <Ul> <Li> "$" - global variable </Li> <Li> "@" - instance variable of self </Li> <Li> "@ @" - class variable </Li> <Li> No sigil, lowercase or underscore - local variable or method </Li> <Li> No sigil, uppercase - constant </Li> </Ul> <Li> "$" - global variable </Li> <Li> "@" - instance variable of self </Li>

Various use of scope resolution operator in c++