Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!pilchuck!dataio!fnx!nazgul!bright From: bright@nazgul.UUCP (Walter Bright) Newsgroups: comp.lang.c Subject: Re: Zortech C/C++ Message-ID: <184@nazgul.UUCP> Date: 26 Nov 90 21:19:15 GMT References: Reply-To: bright@nazgul.UUCP (Walter Bright) Distribution: world,local Organization: Zortech, Seattle Lines: 22 In article paul@tucson.sie.arizona.edu (Paul Sanchez) writes: /I am using the Zortech C/C++ compiler, v.2.1 on an IBM PS-2/80 running /DOS 3.3. /1) I appear to be running into the 64k barrier. Is there any way I /can create a vector of doubles >8k in length? Sure. Declare: double *a[10]; for (i = 0; i < 10; i++) a[i] = (double *) malloc(4096 * sizeof(double)); To access it: #define a(j) a[j>>12][j&(4096-1)] a(m) = y; x = a(n); /2) The "%g" format in printf works as described by K&R II, but is /different from all of the UNIX implementations I deal with and from /Microsoft. This will be fixed.