Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Gloria , djgpp AT delorie DOT com Date: Fri, 9 Oct 1998 17:02:53 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Mem size In-reply-to: <361E54BC.62DA@golden.net> X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp AT delorie DOT com Gloria wrote: > Hi. I'm a newbie to C. I'm learning with a book right now and it's > getting into pointers. In one program you find out the address of > various pointers. In the book it says that the memory location should > only be from 0-65,535 however when I try the program in DJGPP I get > memory addresses of 300000 and above. What's going on? Simple: djgpp uses all the memory of your computer not just 640Kb, so pointers are much bigger. Download and read the FAQ, it explains a lot of newbie stuff (and advanced too). SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013