Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

huge array 1

Status
Not open for further replies.

elfanddot

Programmer
Feb 21, 2002
28
US
any help is appreciated!

i tried an array like UINT a[800][600] in a structure
and got a structure to big;
i tried UINT huge a[800][600] and the same result
attempt was made on borlandc v3.1
also, i noticed that when not in a structure or class that the huge definer works.
 
Borland 3.1 was a DOS compiler. DOS' arrays are limited to the amount of free memory in the 640K lower memory block.

James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that they think I am now
qualified to do anything with nothing.
 
visual c++ and one day maybe djgpp(but not yet)
also have parts of borlandc 5.. but not setup yet
(kindof like 3.1)
so i should try something with expanded memory?

i don't really like visual c for dos, probably because the code was written for windows.

there is an image size option in bc3.1 and i did try to set it to huge,large,medium ... no result.

there is also an option for optimization ( size vs. speed )

 
If you are compiling for DOS, you are out of luck. If you compile for a Windows console your limitation will be the total amount of free memory. Look at compiler options for Windows vs. DOS (or 32 bit vs 16 bit).
James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that they think I am now
qualified to do anything with nothing.
 
I've never used a linked list and therefor i will try.
Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top