[comp.os.msdos.programmer] using extended memory for arrays ??

Duel@cup.portal.com (Omid M Farr) (11/04/90)

I'm using Borland's TC++ and would like to know how I can get the compiler
to use extended memory for strings, variables, and arrays. (No executeable
code). As it is, if I allocate a one or two meg array, it will compile and
end up as a 1-2 meg file which obviously wont fit into the 640k base memory.
Can someone give me an example or tell me how I can load in a 1-2 meg file
which holds all the array data and then have the program actually access this
memory.
Since this program continually manipulates data, it is not efficient to 
continously load strings from the hard drive. I could use a ramdrive, but
there must be an quicker and less "clumsy" method.
Thanks.. any examples or information on how (if possible) this can be done.

duel@cup.portal.com
sun!portal!cup.portal.com!duel