Re: (C) missing semi-colon
From: Paul Fedorenko (pfedorenko_at_look.ca)
Date: 11/05/04
- Next message: Len Philpot: "Re: how to cut a char out of a string"
- Previous message: David White: "Re: decrement past beginning is valid?"
- In reply to: Alwyn: "Re: (C) missing semi-colon"
- Next in thread: Jack Klein: "Re: (C) missing semi-colon"
- Reply: Jack Klein: "Re: (C) missing semi-colon"
- Reply: Mike Wahler: "Re: (C) missing semi-colon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 4 Nov 2004 21:18:40 -0500
Actually... if you don't mind me asking another question... if you look at
main(), there's a line where my function game_menu() is called. The program
basically skips that part, and just executes the next line. am I maybe
calling the function wrong?
is writing: void game_menu(player1); alright as a function prototype?
Or do I have to use something like
void game_menu(player1[20]);
or possibly void game_menu(&player1); instead when passing a string?
I know the first one is fine for a single character char variable.
- Next message: Len Philpot: "Re: how to cut a char out of a string"
- Previous message: David White: "Re: decrement past beginning is valid?"
- In reply to: Alwyn: "Re: (C) missing semi-colon"
- Next in thread: Jack Klein: "Re: (C) missing semi-colon"
- Reply: Jack Klein: "Re: (C) missing semi-colon"
- Reply: Mike Wahler: "Re: (C) missing semi-colon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|