🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #790

TC++ 1.0 Trouble

#790
From: Alan Haas
Date: Wed, 27 Jun 1990 20:55
39 lines
1994 bytes

   After a two week wait,  TC++ 1.0 arrived in the mail.
After a weeks use, I can say that I am very impressed with
the product.  However, I seem to be having problems with
programs that worked under TC 2.0 with no problems.
In a number crunch intensive routine running with TC++,
a runtime error of Stack Fault is given.  In TC 2.0, no
such problem occurs with the exact same program and data.

  What I would like to know is:
     1.  Does anybody else have trouble in using
         old TC 2.0 programs that have problems with TC++

     2.  Would people please give suggestions on what may
         be causing the problem.

         for ( i=0 ; i<nvar ; i++ )
            for ( j=0 ; j<nconst, j++)
               mat[i][j] = a[j][i]*diag[j]*diag[j];

       everything is declared correctly.  nvar = 7  nconst = 11

       at i = 2 j = 0  a[j][i] = 2.0  diag[j] = .0045

    I have checked this with evaluate in the IDE.  This is as
    things should be.  At i = 2 and j = 0   the program halts
    and a Stack Fault message is given.  TC 2.0 worked just fine,
    but TC++ choked.  I looked up the error in the manual, but
    I was given no clue that I could use ( my inability ).

    Since question #2 is not likely to be of interest to many people,
    please e-mail comments to me.  I  will post the solution if
    I receive it, and if there seems to be interest.
          Thanks:  Alan Haas   ahaas@ecn.purdue.edu
--
********
Alan Haas:  Fun is all the more so when it is shared.
********
Technical Details
Message-ID: <1990Jun27.205532.21508@ecn.purdue.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!cica!iuvax!noose.ecn.purdue.edu!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!cica!iuvax!noose.ecn.purdue.edu!news
From: ahaas@silver.ecn.purdue.edu (Alan Haas)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: TC++ 1.0 Trouble
Message-ID: <1990Jun27.205532.21508@ecn.purdue.edu>
Date: 27 Jun 90 20:55:32 GMT
Sender: news@ecn.purdue.edu (USENET news)
Distribution: usa
Organization: Purdue University Engineering Computer Network
Lines: 39