home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!srhqla!quest!kdq
- From: kdq@quest.UUCP (Kevin D. Quitt)
- Newsgroups: comp.lang.c
- Subject: Re: Peek/Poke in C
- Message-ID: <7kL1VB1w165w@quest.UUCP>
- Date: Fri, 18 Dec 92 21:39:54 PST
- References: <BzGIDn.Ho4@news.cso.uiuc.edu>
- Reply-To: srhqla!quest!kdq
- Organization: Job quest (805) 251-8210, So Cal: (800) 400-8210
- Lines: 19
-
- cad28526@uxa.cso.uiuc.edu (Chuck Douglas) writes:
- > pal@regent.e-technik.tu-muenchen.dbp.de (Peter Loibl) writes:
- > >ericwebb@blackwlf.gwinnett.com (eric webb) writes:
- > >>Hi again.. does anyone know how to do equivalent of BASIC's PEEK & POKE
- > >>statements in C?
- > >I am sorry for my ignorance, but what are PEEK and POKE doing? If you
- > >describe their task, then this would be lots of help for all the
- > >"C-Gurus" here.
- > PEEK and POKE are used in Applesoft BASIC to look at (PEEK) the contents
- > of or put (POKE) a value in to a specific memory address. I really
- > don't believe that there is anything analogous to it in C. At least
- > nothing that would serve the use it does in Applesoft.
-
- What happened to pointers? Did they go away? (try *charptr =
- value for pokes and value = *charptr for peek).
-
-
- _
- Kevin D. Quitt 96.37% of all statistics are made up. srhqla!quest!kdq
-