| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi! I've made a game where a random number is generated. The user then choose to play against the computer or another player. They then try to guess the number but I have a few errors! If you could email any help I would be extreamly greatful. Sorry if its a bit long, I'm just a beginer after all. Thanks!
![]() The errors are:- The numbers in brackets are the line numbers. (374) : error C2059: syntax error : 'if' (375) : error C2447: '{' : missing function header (old-style formal list?) (391) : error C2059: syntax error : '}' (391) : error C2143: syntax error : missing ';' before '}' (391) : error C2059: syntax error : '}' (394) : error C2059: syntax error : 'if' (395) : error C2447: '{' : missing function header (old-style formal list?) (399) : error C2059: syntax error : 'else' (400) : error C2447: '{' : missing function header (old-style formal list?) (404) : error C2470: 'Score' : looks like a function definition, but there is no formal parameter list; skipping apparent body (406) : error C2059: syntax error : 'if' (410) : error C2059: syntax error : 'else' (411) : error C2447: '{' : missing function header (old-style formal list?) (415) : error C2059: syntax error : 'if' (416) : error C2447: '{' : missing function header (old-style formal list?) (426) : error C2059: syntax error : 'else' (427) : error C2447: '{' : missing function header (old-style formal list?) |
|
#2
|
||||
|
||||
|
Could you be a bit more specific please? What types of bugs do you have? When do they occur? What specifically is going wrong?
__________________
Officially a member of the Itsacon fan club. Beer blasts are every friday at Viper_SB's house. I bring the chips. ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Help Please! I'm only a Beginner! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|