Now I will explain the problem OK.
I have to find a way of calling a function before main.
How can I do it? can i use a pointer?
Give all the possible solutions as soon as you can.
See you soon,
Necra
It other words, you really didn't need it to run before main() at all, did you?
All you really needed was to make sure that it was the very first thing in main!
Again, this betrays a fundamental lack of understanding of the basics! You really need to get those foundations solid before you go on - otherwise you are building on quicksand...