🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4228

Re: TurboC and TurboC++

#4228
From: Chuck Anderson
Date: Fri, 11 Jan 1991 00:53
63 lines
2745 bytes
In article <350bahrd@yoda.byu.edu> bahrd@yoda.byu.edu writes:

>I was wondering what the difference between TurboC 2.0 and TurboC++ 1.0 in the
>standard C mode was?  Is there any portability porblems if I write code in
>TurboC++ using standard C conventions and then giving the code to a friend who
>has Turbo C 2.0?  Please let me know!!!

Ihave compiled a few programs and I have seen no compatability problems. There
are some new library functions, though.

I couldn't find this documented anywhere else so I went through the 
library reference (actually the Turbo C++ Bible) and listed the library 
functions that are in C++ 1.0 and not in C 2.0. 

I suppose that this is as good a time as any to share my newfound wealth
of knowledge.

New library functions in Turboc C++ 1.0:
----------------------------------------

   * localeconv - obtain detailed information on country specific monetary
                  numeric, time, and string values (i.e., $1.00 or f1,00)

   * setlocale - define the current locale

      [note: the above are pretty useless at this time since Turbo C++ only
             supports one default locale.]

  * farheapcheck     - far heap diagnostic routines
  * farheapcheckfree
  * farheapchecknode
  * farheapfillfree
  * farheapwalk

  * heapcheck     - heap diagnostics
  * heapcheckfree
  * heapchecknode
  * heapfillfree
  * heapwalk

  * strcoll - compare strings according to the collating sequence specified
  	      by the current locale.

  * strxfrm - transforms strings so that a strcmp returns the same result
	      as strcoll would.

  * strftime - format items from a tm structure into a string

  * _OverInitEms - set up expanded memory for swapping overlays

  * _OvrInitExt - set up extended memory for swapping overlays

  * _setcursortype - (in textmode) change the shape of the cursor.

--------------------------------------

   That's all folks!

-- 
  *************************************************************************
     Chuck Anderson                uucp    :         uunet!isis!cla 
     Boulder, Co. (303) 494-6278   internet:         cla@isis.cs.du.edu 
  *************************************************************************
Technical Details
Message-ID: <1991Jan11.005308.683@isis.cs.du.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!cs.utexas.edu!uunet!isis!cla
References: <350bahrd@yoda.byu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!cs.utexas.edu!uunet!isis!cla
From: cla@isis.cs.du.edu (Chuck Anderson)
Newsgroups: comp.os.msdos.programmer
Subject: Re: TurboC and TurboC++
Message-ID: <1991Jan11.005308.683@isis.cs.du.edu>
Date: 11 Jan 91 00:53:08 GMT
References: <350bahrd@yoda.byu.edu>
Reply-To: cla@isis.UUCP (Chuck Anderson)
Organization: Center for Life Fulfillment
Lines: 63