Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!dali!milton!oregon!michelbi From: MICHELBI@oregon.uoregon.edu (Michel Biedermann) Newsgroups: comp.lang.c Subject: HELP NEEDED to declare very large global array Message-ID: <18817@oregon.uoregon.edu> Date: 9 Apr 90 23:00:50 GMT Distribution: usa Organization: University of Oregon Lines: 22 I am having problems declaring the following array as a global variable using QuickC 2.0: #define MAX_CHANNELS 6 #define MAX_SAMPLES 3000 float data[MAX_CHANNELS][MAX_SAMPLES]; void main(void) { /* use data[][] here */ } In the interest of making this a good learning experience, please give me both solutions (since my array is > 64K): 1. Using a small or medium memory model. 2. Using a huge memory model. Thank you very much for any help. Michel Biedermann michelbi@oregon.uoregon.edu U. of Oregon