Can we pass pointer of a class to a function?
-
I am passing a valid data pointer to a function and I am getting
exception. Before I go further I just like to know if it is possible?
-Agha -
On Jul 4, 2009, at 2:53 PM, Agha Khan <agha.khan...> wrote:> I am passing a valid data pointer to a function and I am getting
> exception. Before I go further I just like to know if it is possible?
Short answer, yes. Classes are objects too.
But classes aren't always appropriate arguments to a method. You need
to post your code.
--Kyle Sluder


