Re: (C) missing semi-colon

From: Alwyn (dt015a1979_at_mac.com.invalid)
Date: 11/04/04


Date: Thu, 04 Nov 2004 18:47:25 +0000

In article <Zuuid.21813$dj2.1273050@news20.bellglobal.com>, Paul
Fedorenko <pfedorenko@look.ca> wrote:
>
> void game_menu(char player1[20])
> {
> int year;
> int choice;
>
> for (year = 1; year >= 3; year++)
> {
> // system("cls");
> printf("Year %d", year);
> printf("1) Agressive\t2) Withdraw\t3) Cooperate\n\n");
> printf("Enter your strategy for year %d\n\n", year);
> switch ( choice )
> {
> case 1: file_out(year, player1[20], choice);
> break;
> case 2: // not written yet
> break;
> case 3: // not written yet
> break;
> default: error();
> }
        }
> }

Et voilą!

Alwyn