Header compilation

Art Du Rea: NoGargbageIn:NoGarbageOut A-Du-ReaNOGI@EsperNOGO.Com
Fri Oct 1 00:00:00 GMT 1999


On Wed, 1 Sep 1999 09:32:22 -0400, "dave" <a@b.c> wrote:
>Thanks for your help.  I'm using FLEX and BYACC to do a few things and I was
>unclear how to get info shared between the two.  I since learned the global
>variable approach to be unwise here.  Thank you all for the help!

Dave ...

I'm mostly using LabWindows/CVI ... a C based GUI for developing "electronic front panel"
instrument and control systems.  For the systems I'm working with, globals are VERY
important ... I have arrays of data that have to be referenced by MANY function modules, and
control parameters that affect the ENTIRE system, so I use a lot of globals, but most of
them are (supposed to be!) "read only" except in a few places.  I can understand how you
wouldn't want variables messed up in the wrong place, and it is difficult to control in big
team projects.  All my stuff is 1-man band type of stuff, and I use globals quite freely
with no problems whatsoever.  They are available for a reason ... don't be afraid to use
them for the correct reason!



All the best, and ENJOY!

Art Du Rea
Knoxville, Tennessee, USA

(Remove NOGI:NOGO for direct e-mail)



More information about the Gcc-help mailing list