+ 3
Can you help? We have to insert instead
#include<iostream> using namespace std; class Myclass { public: void fun(int a){X=a;} private: int X; } main() { Myclass m, *my=&m; //******found***** *my.fun(10); }
1 Odpowiedź
+ 1
I am not sure if I completely understand your question.