superarno
asked on
Pointer to main function
Hi --
I am writting a thread simulation program for a class. I have to create a pointer to the main function in the initialization function for our thread package. I have no clue how to do this. My professor said something about creating a prototype for main....but Im not sure what that means. Thanks :-)
marc
I am writting a thread simulation program for a class. I have to create a pointer to the main function in the initialization function for our thread package. I have no clue how to do this. My professor said something about creating a prototype for main....but Im not sure what that means. Thanks :-)
marc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Nothing has happened on this question in more than 9 months. It's time for cleanup!
My recommendation, which I will post in the Cleanup topic area, is to
accept answer by kotkova.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jmcg
EE Cleanup Volunteer
My recommendation, which I will post in the Cleanup topic area, is to
accept answer by kotkova.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jmcg
EE Cleanup Volunteer
is not mandatory. You can use this also
ptr = main