Newsgroups: comp.os.msdos.programmer
Path: utzoo!utgpu!cunews!ajai
From: ajai@sce.carleton.ca (Ajai Sehgal)
Subject: Turbo C++ and Extended Memory, Huge model, large data structs
Message-ID: <ajai.653069128@talos.sce.carleton.ca>
Summary: Question on how to implement large data structures in Turbo C++
Keywords: Turbo C, Huge Extended Memory
Sender: news@ccs.carleton.ca (news)
Organization: Carleton University, Ottawa, Canada
Date: 11 Sep 90 16:05:28 GMT

I'm writing an application in Turbo C++ which requires large data structures,
ie an array of dimension 1,500,000 bytes (to hold a 512 x 512 image in real
format). I thought I could use farmalloc to allocate a large chunk of memory
and then use ponters to store and retrieve the data. The problem I encounter
is the lack of memory access to memory above 640K. Can Turbo C++ make use of
extended memory other than for overlay swapping? Is there a solution with
Turbo C++ ? If not How about Zortec C++, I'm in early development so if I have
to switch I will. Is Zortech better?


Regards, Ajai.




