Mandrew I think we are talking past each other...
What I am saying:
void class::a(){
int MyInt = 5;
b(MyInt);
//MyInt = 6
}
void class::b(int* MyIntPointer){
MyIntPointer++;
}
What you are saying:
void class::a(){
int* MyInt = 5;
b(MyInt);
//MyInt = 5
}
void class::b(int MyIntPointer){
MyIntPointer++;
}