🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.tools
Article #3

Think-C bug?

#3
From: Warren N. Massey
Date: Mon, 07 Aug 1995 18:27
28 lines
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
Technical Details
Message-ID: <1995Aug7.102723.1@travis.llnl.gov>
Path: arc1-ca.pugleaf.net!travis.llnl.gov!massey

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!travis.llnl.gov!massey
From: massey@travis.llnl.gov (Warren N. Massey)
Newsgroups: comp.sys.mac.programmer.tools,comp.lang.c
Subject: Think-C bug?
Date: 7 Aug 95 10:27:23 -0800
Organization: Lawrence Livermore National Laboratory
Message-ID: <1995Aug7.102723.1@travis.llnl.gov>
NNTP-Posting-Host: travis.llnl.gov