포인터 변수 값지정할때 함수로 할수있잖아


int * A;

void intoA(int _A)

{

this->A =_A;

}

이렇게 비슷하게 있었던거같은데 저렇게쓰면 오류남

알고있는사람?