Hi, I have a class named 'Myclass' and a a class method 'function1'.
I want to return a pointer from this method.I am not sure how to do it.
Can somebody plz help me ?Code:class Myclass { public: int n,m; double *function1(); } double* Myclass::function1() // is this a correct way to do it ? { ............ }
Than you.