delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/21/15:55:02

Sender: nate AT cartsys DOT com
Message-ID: <36F55C45.725725C2@cartsys.com>
Date: Sun, 21 Mar 1999 12:53:25 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.3 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Scope of global variables in multi source file projects
References: <36f540ad DOT 2278420 AT 158 DOT 152 DOT 254 DOT 68>
Reply-To: djgpp AT delorie DOT com

Kevin wrote:
> 
> Hi All,
> 
> I'm having another go at trying to use multiple source files,
> something I gave up on a long while ago because of all the extra
> problems I got, I have declared a couple of global variable in the
> file with the main function and find that they are inaccessible from
> from the other source files in the project,

This document will probably help.

http://www.delorie.com/djgpp/doc/ug/larger/multisrc.html

-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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