Thread View: comp.sys.mac.programmer.tools
1 messages
1 total messages
Started by Warren N. Massey
Mon, 07 Aug 1995 18:27
Think-C bug?
Author: Warren N. Massey
Date: Mon, 07 Aug 1995 18:27
Date: Mon, 07 Aug 1995 18:27
28 lines
1368 bytes
1368 bytes
Using Symantec's THINK C v5.0.4 (Quadra 950, OS=v7.1) the following code fails
to print anything to the console window which is created when it is run. If
the array dimension is dropped to any smaller number (e.g. 1651) then it works
and prints.
What can I do to make it work with the larger array sizes?
FWIW, this is the essence of a problem I'm having with a much larger program
that fails in this manner. This test code will fail when run under within the
Think-C development environment, either with or without the debugger. It'll
also fail when run as a stand-alone application whose memory partition has
been set very high. It is built with the standard ANSI library.
#include <stdio.h>
main()
{
double Array[ 1652 ];
printf("\r\n Hello ! \r\n");
}
--
Warren N. Massey Massey@Travis.LLNL.Gov
Lawrence Livermore National Laboratory 7000 East Ave., P.O. Box 808, L-495
Livermore, Calif. 94550 (510)422-1958 FAX: (510)422-3358
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads