delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/24/18:12:03

From: kagel AT quasar DOT bloomberg DOT com
Date: Wed, 24 Jan 1996 17:52:04 -0500
To: masong AT post DOT cis DOT smu DOT edu
Cc: eliz AT is DOT elta DOT co DOT il, djgpp AT delorie DOT com
Subject: Re: MS DOS help needed
Reply-To: kagel AT quasar DOT bloomberg DOT com

   Date: Wed, 24 Jan 1996 14:24:47 -0600 (CST)
   From: Mason Glaves <masong AT post DOT cis DOT smu DOT edu>

   On Wed, 24 Jan 1996, Eli Zaretskii wrote:

   > 
   > Any examples?
   > 

   Sorry, I was rushed:

   Ok, if I try to add the lines:

   #define MAX 30

   ... (other stuff)

   main()

   char buff[MAX];



Is the missing opening brace '{' for function main() a typo here or in your actual
code????


   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