Link to home
Start Free TrialLog in
Avatar of superarno
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
ASKER CERTIFIED SOLUTION
Avatar of kotkova
kotkova

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rajeev_devin
rajeev_devin

ptr = &main

is not mandatory. You can use this also

ptr = main
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