Quote:
Originally Posted by Salem
Put it inside main.

C has no concept of having executable code outside of functions. C++ can do it, but that's only for constructing global objects.
Interesting enough it is a global object. Can you give me an example of c++ global object the way I am trying to do it?

Thanks,