Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!umd5!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: large arrays on IBM PC Message-ID: <12367@mimsy.UUCP> Date: 8 Jul 88 14:40:07 GMT References: <10655@agate.BERKELEY.EDU> <1857@hubcap.UUCP> <377@uwovax.uwo.ca> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 24 In article <377@uwovax.uwo.ca> 16012_3045@uwovax.uwo.ca (Paul Gomme) writes: > Try that sort of thing under MS-DOS, with a _BIG_ matrix ... > int array[200][200]; >... with Turbo C, and ... MSC ... The compiler choked on it because the >array exceeds 64K. However, I've used a Fortran compiler which will let >me create such matricies with absolutely no complaint. But do they *work*...? :-) There are MS-DOS C compilers which will compile the above without complaint. You must use the so-called `huge model'. Chances are there are just as many (ratio-wise at least) FORTRAN compilers for these machines which will `choke on it'. (Just for yucks, what happens with double arr[400][400]; or DOUBLE PRECISION ARR(400,400) ?) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris