Eagletalon 34 Junior Poster in Training

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++;
}

See http://www.cprogramming.com/tutorial/lesson6.html

Eagletalon 34 Junior Poster in Training

I think he got confused between the Get method vs Set method...

also that specific error arises because you are trying to send to the function a variable in the main function but that variable is not declared or created in the main.cpp

Walt your posts can stand on their own but for a complete noob he wont understand a word, I know you are getting frustrated and trying to get the people to brush up on the basics, but I dont believe they will know where to brush up on if you dont give a reference,

that said, giving them code that explains everything also isnt the way to do it

WaltP commented: Yuo need to keep your *assumptions* about peoples mental states out of your posts. You on the edge of a Rules Infraction. -3