fay, I would inform you that PellesC is not a C++ compiler, and people on this forum may not be C++ skilled.
Just to fast answer to your question: the standard permits to #pragma operator to have some personalized options (available only on that specific compiler). The standard says that when a compiler found an unknown pragma it must just ignore it (and in effect you get a warning).
In your case they seems to define the routine called at program startup and that called on program exit, so for the VC I suggest you to check in the linker options if there is any that could mimic that pragmas (to set the startup routine use "/entry:f1", I don't know for the other).