🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #2088

Turbo C large array

#2088
From: John Gordon
Date: Fri, 27 Jul 1990 19:47
22 lines
1248 bytes
	Hello.  I am having a problem, and I hope someone can help me.

	I am trying to declare a char array that is rather large, and TCC
won't accept it, it says it is too large to fit within available memory.
Bull!  I know for a fact that there is at least 300 or 400K left.  Anyway,
here is the declaration:

		char menu[1200][80];

	By my calculations, this shoud be equal to 96K worth.  I am using
the Huge model, which specifically says that arrays of more than 64K may be
used.

	Any help will be most appreciated.


---
John Gordon
Internet: gordon@osiris.cso.uiuc.edu        #include <disclaimer.h>
          gordon@cerl.cecer.army.mil       #include <clever_saying.h>
GEnie:    j.gordon14                  
Technical Details
Message-ID: <1990Jul27.194738.7304@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!osiris.cso.uiuc.edu!gordon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!osiris.cso.uiuc.edu!gordon
From: gordon@osiris.cso.uiuc.edu (John Gordon)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Turbo C large array
Keywords: char, TC, array
Message-ID: <1990Jul27.194738.7304@ux1.cso.uiuc.edu>
Date: 27 Jul 90 19:47:38 GMT
Sender: usenet@ux1.cso.uiuc.edu (News)
Distribution: comp.sys.ibm.pc
Organization: University of Illinois at Urbana
Lines: 22