Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ames!uhccux!munnari.oz.au!uniwa!bilby.cs.uwa.oz.au!cuscus!nicholas From: nicholas@bilby.cs.uwa.oz.au (Nicholas Yue) Newsgroups: comp.lang.c Subject: LARGE arrays on IBM PC with 640k RAM? Summary: LARGE arrays using TURBO C for IBM PC with 640k RAM? Keywords: arrays PC Message-ID: Date: 6 Dec 90 05:25:37 GMT Organization: Dept. Computer Science, University of Western Australia. Lines: 18 Hi, Does anyone know of a way to implement large arrays unsigned char *raster; raster = (unsigned char *)malloc(640*480*3); the above certainly won't work because my PC only has 640k RAM but K&R suggested using lseek() and treat large files as array. I tried it but unsuccessfully, does anyone has any suggestion? Or some sources that will work? Preferably, the solution(s) do not need hardware upgrade or purchase of other software! I have TURBO C. Thanks In Advance nicholas@woylie.cs.uwa.oz.au