hello, im trying to access a variable in 2 or 3 member functions and let them modify it, and the data should be retained (thats why im using "static" for this purpose) so that whenever any function ( eg. member function #2 )needs updated variable "org" for example(that has been calculated and had been modifed in another function(and again should be modified and be used in some others), there is no problem to get the data ! .
but . whenever i write" static int org" , and use "org" in member functions, the compiler generates error! stating that "|1131|undefined reference to `CLA:rg'|
how can i solve this ?

by the way , declaring a mapped array this way , does it retain the data each time we call it ? or it just resets! each time it exits a function!
Code:
class CLA
{
public:
CLA (string);
void InputString(string);
void Parser(); 
void Fetch();  
void AnalizeString(); 
void Tokenizer(); 
 void machinLanguageConvertor();
void MemoryDumper(); 
void ExecutionEngine();
private:
static int org;
map<int,string>::iterator usrstr_it;
map<int,string>  StringCollector;

};
and how can i pass a mapped array to a function ! i mean im trying to use a mapped array , so is it right to do :CLA (StringCollector); ?

many tanx in advance