From: Boon van der RJ Newsgroups: comp.os.msdos.djgpp Subject: Re: Help plz. Date: 20 Oct 1998 13:02:11 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 24 Message-ID: <70i1kj$ctr$1@star.cs.vu.nl> References: <362C9048 DOT DFB63546 AT yahoo DOT com> NNTP-Posting-Host: sloep41.cs.vu.nl User-Agent: tin/pre-1.4-980730 (UNIX) (SunOS/5.5.1 (sun4u)) Originator: rjvdboon AT sloep41 DOT cs DOT vu DOT nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ][v][]2. ][) wrote: > Picture this: I have a function Load_Level that takes as a parameter a > char array, something like this: map[32][32]. In my program I have it > lined out as follows: > void Load_Level( char level ) This is the culprit, you give Load_Level a char, not a array of arrays of char. make it void Load_Level(char **level) or char level[MAX_MAP_WIDTH][MAX_MAP_HEIGHT], depending on the declaration off level. If this wasn't the culprit, it should, or you might have typed the function into the message, made a typo, and left me clueless ;-) dag nu, [1] Robert. [1] bye now in dutch -- rjvdboon AT cs DOT vu DOT nl | "En dat is niet waar!" sprak ex-Staatsecretaris- www.cs.vu.nl/~rjvdboon | van-Onderwijs Netelenbos fel.