Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!rwthinf!marvin.e17.physik.tu-muenchen.de!berg From: berg@marvin.e17.physik.tu-muenchen.de (Stephen R. van den Berg) Newsgroups: comp.os.msdos.programmer Subject: Re: huge-far pointer and Turbo C++ V1 Message-ID: <4004@rwthinf.UUCP> Date: 19 Feb 91 12:03:38 GMT References: <8138@exodus.Eng.Sun.COM> Sender: news@rwthinf.UUCP Lines: 13 Stephen Johnson writes: >This program allocates a very large array of memory >and addresses using the "far" key word. Unfortunately, the >address calculations rap around at 64k. > ULONG far *zbuf; I suggest you use the 'huge' keyword instead of 'far'. -- Sincerely, berg@marvin.e17.physik.tu-muenchen.de Stephen R. van den Berg. "I code it in 5 min, optimize it in 90 min, because it's so well optimized: it runs in only 5 min. Actually, most of the time I optimize programs."