Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!decvax!mcnc!gatech!udel!princeton!mccc!pjh From: pjh@mccc.UUCP (Peter J. Holsberg) Newsgroups: comp.lang.c Subject: Re: Turbo C Problem? Message-ID: <248@mccc.UUCP> Date: 27 Feb 88 17:30:20 GMT References: <44100006@hcx2> Reply-To: pjh@mccc.UUCP (Peter J. Holsberg) Organization: The College on the Other Side of US Route 1 Lines: 37 In article <44100006@hcx2> daver@hcx2.SSD.HARRIS.COM writes: | | |The following dumb, little program is compiled with Turbo-C 1.0, running under |MS-DOS 3.2. Shortly after starting up, the C compiler goes berserk. The |screen flashes in reverse video and the operating system reboots itself. |In a larger example, the auto-reboot does not take place, but the C compiler |hangs up, the recommended "control-break to quit" has no effect, and I have |to reboot the system anyway. What is going on? Is this a C compiler |problem? Would there be any difference in version 1.5? | |#define R 41 |#define C 480 |main() |{ | struct | { | unsigned a:1; | } b[R][C]; | | int i, j; | for (i=0; i