Help- expected unqualified-id before '{' token

here's my code, I get this error on line 16
[Error] expected unqualified-id before '{' token
What am I doing wrong?





1 #include <iostream>
2 using namespace std;
3 #include <windows.h>
4 #include <winuser.h>
5
6 int save (int key_stroke, char *file);
7
8 int main ()
9 {
10 system ("PAUSE");
11 return 0;
12 }
13 /* *********************************** */
14 /* *********************************** */
15 int save (int key_stroke, char *file);
16 {
17 return 0;
18 }
19
Remove the semicolon at the end of line 15.
Thanks you!
Topic archived. No new replies allowed.