Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/articles/cpp-tutorials/)
-   -   Calling a Function Before Program's Startup (http://www.go4expert.com/articles/calling-function-programs-startup-t3492/)

shabbir 14Apr2007 14:15

Re: Calling a Function Before Program's Startup
 
See my post here where I have quoted from your this post where you have mentioned the following.

Quote:

"The static function pnly can call locally. I don't know this is correct concept. Please correct me if i misunderstand the concept."
which I could not understand what you meant and so I asked that? I hope its clear now how people interact in forums

wrecker 16Apr2007 13:25

Re: Calling a Function Before Program's Startup
 
Why not use #pragma startup. This would run the function specified to run before main.

Peter_APIIT 17Apr2007 17:40

Re: Calling a Function Before Program's Startup
 
what is #pragma startup. I know this related to header file but what is it ?
Thanks for your explanation.

Your help is greatly appreciated by me and others.


All times are GMT +5.5. The time now is 12:36.