View Single Post
Ambitious contributor
2Feb2008,23:37  
Salem's Avatar
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.