ive got a general function that will act apon whatever structure i want to pass to it but is it possible to do that?
i tried this:
void test(void* obj) {
obj->member=....
}
the compiler seems to allow the void* obj, but the compiler is giving errors when i try to access members of that function
i tried this:
void test(void* obj) {
obj->member=....
}
the compiler seems to allow the void* obj, but the compiler is giving errors when i try to access members of that function