C++ programs can be implemented on different operating systems such as UNIX, Linux, Windows, and DOS, etc. C++ programs executed under DOS environment can also run successfully under Windows, because we have to follow the same programming rules on both platforms. Only the C++ execution environments are different.
Various types of C++ compilers are described below.
- GNU C++: The GNU C++ is a compiler and it is available in the source code form. It is available in different versions.
- NDP C++: NDP C++ is also a C++ compiler, i.e. compatible with AT&T C++ 2.0 for DOS,UNIX , Sun OS, etc.
- Oregon C++: Oregon C++ is a C++ compiler compatible with AT&T C++ 2.0 for a variety of UNIX systems.
- Zortech C++ Version 2.1: This compiler has been developed for MS-DOS, OS/2, and UNIX.
- Borland C++: Borland C++ compiler is a combination of two compilers. They are ANSI standard C compiler and C++ compiler. It runs on MS-DOS. Borland C++ includes Turbo Assembler, Turbo Debugger, and Turbo Profiler.
In the following section, brief information for creating, compiling, and executing C++ programs are described using Borland C++ compiler.