delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/24/15:37:15

Date: Wed, 24 Jan 1996 14:24:47 -0600 (CST)
From: Mason Glaves <masong AT post DOT cis DOT smu DOT edu>
Subject: Re: MS DOS help needed
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Message-ID: <Pine.3.89.9601241443.B23147-0100000@post.cis.smu.edu>
MIME-Version: 1.0

On Wed, 24 Jan 1996, Eli Zaretskii wrote:

> 
> On 23 Jan 1996, Mason Glaves wrote:
> 
> > help! For some reason djgpp keeps giving me a "undeclared identifier" everyting I try to create/use arrays of
> > any sort...  is there any special includes that I am forgetting...
> 
> Any examples?
> 

Sorry, I was rushed:

Ok, if I try to add the lines:

#define MAX 30

... (other stuff)

main()

char buff[MAX];

It compiles fineuntil it reaches the above line, but then it give me some 
error message that looks like:

in function main
line 20 : buff undeclared (use this function first).

(or something very similar looking to the above) 

It willl compile fine on a unix version of gcc, so I am lost for what to 
do...

- Raw text -


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