Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!Portia!hobbes From: hobbes@Portia.Stanford.EDU (Andrew Zimmerman) Newsgroups: comp.sys.ibm.pc Subject: Turbo-C bug Message-ID: <2556@Portia.Stanford.EDU> Date: 30 May 89 18:24:44 GMT Sender: Andrew Zimmerman Distribution: na Organization: Stanford University Lines: 18 The following program doesn't run when compiled under Turbo-C 2.0. (It does compile under Turbo-C, and it runs under Zortech C.) Does anyone know if you can explicitly tell Turbo-C 2.0 to link in the floating formats? Andrew hobbes@portia.stanford.edu #include main() { double a[3][3]; int i; i = 1; scanf("%lf",&a[i][1]); printf("a[1][1] = %lf\n",a[1][1]); }