www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/16/12:25:37

Date: Thu, 16 Jul 1998 19:25:19 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Joel Rosenthal <zztiger AT mho DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: problem setting my map array
In-Reply-To: <01bdb0cf$784be300$b4691ace@ZZTiger.mho.net>
Message-ID: <Pine.SUN.3.91.980716192426.19025B-100000@is>
MIME-Version: 1.0

On 16 Jul 1998, Joel Rosenthal wrote:

> I've declared my map array like this:
> int map[MAP_HEIGHT][MAP_WIDTH];
[snip]
> But DJGPP gives me this:
> tile.cpp: In method `void Tile_Map::Initialize()':
> tile.cpp:14: parse error before `]'

How are MAP_HEIGHT and MAP_WIDTH defined?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019