C question
2006-04-08 by heedaf
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
2006-04-08 by heedaf
What is the correct declaration/process (in C) for storing a value in memory and having it permanent so it can be updated or changed anywhere in code? Thanks, Dewayne
2006-04-08 by Joel Winarske
Hi Dewayne, > What is the correct declaration/process (in C) for storing a value in > memory and having it permanent so it can be updated or changed > anywhere in code? Read up on the definition of Global Variable. Decent C book that covers all skill levels: "C the complete reference" by Herbert Schildt ISBN 0-07-882101-0 It's the only one they had at Computer Literacy many years ago, so that's got to say something. What part of the country are you from Dewayne? Joel
2006-04-08 by Dewayne
Thanks Joel! I'm from LA. You? My question is more ARM specific. I figured it might be with the global but I'm wasn't sure if it reserves a specific part of memory or if there was something else. Thanks again, Dewayne
----- Original Message -----
From: Joel Winarske
To: lpc2000@yahoogroups.com
Sent: Saturday, April 08, 2006 4:00 PM
Subject: RE: [lpc2000] C question
Hi Dewayne,
> What is the correct declaration/process (in C) for storing a value in
> memory and having it permanent so it can be updated or changed
> anywhere in code?
Read up on the definition of Global Variable.
Decent C book that covers all skill levels:
"C the complete reference" by Herbert Schildt
ISBN 0-07-882101-0
It's the only one they had at Computer Literacy many years ago, so that's
got to say something.
What part of the country are you from Dewayne?
Joel
------------------------------------------------------------------------------
YAHOO! GROUPS LINKS
a.. Visit your group "lpc2000" on the web.
b.. To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------------------------------------------------------------------------------
[Non-text portions of this message have been removed]2006-04-08 by Joel Winarske
> Thanks Joel! I'm from LA. You? My question is more ARM specific. I Napa, CA. > figured it might be with the global but I'm wasn't sure if it reserves a > specific part of memory or if there was something else. "Global Variable Space - This is the memory space for global variables that are statically allocated by the program. I.E. this memory space is fixed in size at compile time." 1 1. http://www.numerix-dsp.com/appsnotes/cmemory.html Joel