Help Whit This Code

Hello I Have a Problen Whit The Followin Code:

http://pastebin.com/kCK7THc9

(I Posted On PasteBin Because Over length)

This Sould Me An Error Code: 1>DllMain.cc(45330): error C2447: '{' : missing function header (old-style formal list?)




Thanks
Is that the complete file, or just an excerpt?
complete code
Well, you can't put executable code outside of a function. See any tutorial or first few chapters of any C++ book for the basic structure of a C++ source.

1
2
3
void function(){
    // code
}
Thanks
Topic archived. No new replies allowed.