this is probably a stupid question with either a really easy answer or an "are u kidding? that can't be done!!!" answer, but how do i use _beginthread with a class member function? i've tried:
to no avail. can anyone tell me how to achieve this?Code:class my_class { void function_1 (void) { cout << "Hello, world!"; } }; int main () { my_class test; _beginthread (my_class.function_1, 0, NULL); return 0; }