Help Whit This Code
Jun 12, 2016 at 10:37am UTC
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
Jun 12, 2016 at 5:07pm UTC
Is that the complete file, or just an excerpt?
Jun 13, 2016 at 1:53am UTC
complete code
Jun 13, 2016 at 2:30am UTC
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
}
Jun 15, 2016 at 9:38am UTC
Thanks
Topic archived. No new replies allowed.