Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fauern!opal!tmpmbx!utopia!sunrise!hotte From: hotte@sunrise.in-berlin.de (Horst Laumer) Newsgroups: comp.lang.c Subject: Re: Memory Access Message-ID: Date: 16 Dec 90 18:31:23 GMT References: <36887@cup.portal.com> Organization: HL EDV-Beratung Lines: 22 Peter_Warren_Lee@cup.portal.com writes: >I'm just starting out learning C and I'm looking for some help. Are there >some commands in C that work like PEEK and POKE in BASIC? I'd like to >be able to see the values in a range of memory but I can't find the >right commands to do it. >Thanks, > Pete > Peter_Warren_Lee@cup.portal.com Just look at , and then provide the proper addresses. Works great on MS-DOS, but you surely run into trouble when f.e. trying to write to fixed adresses on a UNIX-System outside the address-space of your program. --HL -- ============================================================================ Horst Laumer, Kantstrasse 107, D-1000 Berlin 12 ! Bang-Adress: Junk-Food Domain: hotte@sunrise.in-berlin.de ! for Autorouters -- me -- Bang: ...unido!fub!geminix!sunrise.in-berlin.de!hotte