Borland C++
Borland C++是C++程序的开发环境(可称之集成开发环境,Integrated Development Environment, IDE),有DOS版与Windows版。Borland C++的前身是Turbo C++。Borland C++ 最后的版本是5.02。另外,Borland C++ 5.5仅有命令行功能。
架构
编辑1992年Borland买下White Water的 C++ Framework,改名为 Object Windows Library(OWL),并且推出以 OWL 1.0为核心的Borland C/C++ 3.1,OWL使用多重继承架构。Borland C++ 5.0同时支持OWL与MFC。Borland C++ Builder最后取代 Borland C++。
Borland C++ 3.1的范例程序:
class TGDIDemoWindow : public TMDIFrame { public: TGDIDemoWindow( LPSTR ATitle, LPSTR MenuName ) : TMDIFrame(ATitle, MenuName) {}; virtual void SetupWindow(); virtual void ArtyDemo( TMessage& ) =[CM_FIRST + ArtyDemoID]; virtual void Quit( TMessage& ) =[CM_FIRST + QuitID]; virtual void WMTimer( TMessage& ) =[WM_FIRST + WM_TIMER]; virtual void WMDestroy( TMessage& ) =[WM_FIRST + WM_DESTROY]; };
版本
编辑- Borland C++ 2.0 - (1990, MS-DOS)
- Borland C++ 3.0 - (1991) New compiler support to build Microsoft Windows applications.
- Borland C++ 3.1 - (1992) Introduction of Windows-based IDE and application frameworks (OWL 1.0, Turbovision 1.0)
- Borland C++ 4.0 - (1993, Windows 3.x) MS-DOS IDE supported no longer included, OWL 2.0.
- Borland C++ 2.0 - (1992, OS/2)
- Borland C++ 4.01
- Borland C++ 4.02 - (1994)
- Borland C++ 4.5
- Borland C++ 4.51
- Borland C++ 4.52 - (1995) 支援 Windows 95, OWL 2.5
- Borland C++ 4.53
- Borland C++ 5.0 - (1996, Windows 95) Released in March 1996. Works on Windows 95 and Windows NT 3.51. It does not (officially) work on Windows NT 4.0 (which was still in development at that time). 3rd party tests exhibited some problems on NT 4.0. It does not work in Windows 3.x or DOS. Despite that, it can produce either Win32, Win16 or DOS programs.
- Borland C++ 5.01
- Borland C++ 5.02 - (1997) Final release of the Borland C++ IDE (subsequently replaced up by the C++ Builder series), final release to support compilation to (real-mode) MS-DOS target. Windows NT 4.0 officially supported.
- Borland C++ 5.5 - Command-line compiler only (not with IDE). It is still (freely) available from Borland at http://cc.codegear.com/Free.aspx?id=24778(页面存档备份,存于互联网档案馆)