This presentation is useful for c++ beginner, it contains turbo c and minGW download, installation,configure and basic level of program using C++.
At the last page of presentation few links is provided might be that will help you for higher level of programming.
1. 1st step of programming with C++
- Kanha Sahu
C++ Language
2. Software
• API Tools or
Compiler
SRS
• System
Requirement
Specifications
Install
• Installation &
Configuration
Experiments
• Write a
Program
References
• Books, Tutorials
and Other Links
C++
3. Compiler Author Windows Unix like Other OS License type
CCS C Compiler CCS, Inc. Yes Yes Yes Proprietary
Ch SoftIntegration, Inc Yes
Mac OS-X,
FreeBSD,
Linux, Solaris
Yes Freeware
Clang LLVM Project Yes Yes Yes BSD
CodeWarrior Metrowerks Yes Yes Classic Mac OS Proprietary
CParser/libFirm
Matthias Braun, Christoph Mallon
and Michael Beck
Yes Yes Yes GPL
Digital Mars Digital Mars Yes No No Proprietary
Dignus Systems/C Dignus, L.L.C Yes (host) Yes (host) Z/Architecture Proprietary
Edison Design Group Edison Design Group Yes Yes Yes Proprietary
GCC C GNU Project
MinGW,
Cygwin
Yes
IBM mainframe,
AmigaOS
GPL
Portable C Compiler
Stephen C. Johnson, Anders
Magnusson and others
Yes Yes Yes BSD
SubC Nils M Holm MinGW
FreeBSD,
NetBSD,
Linux
MS-DOS Public Domain
Tiny C Compiler Fabrice Bellard Yes Yes No LGPL
Wind River (Diab)
Compiler
Wind River Systems Yes Yes Yes Proprietary
https://en.wikipedia.org/wiki/List_of_compilers
Compilers
6. About Turbo C
Turbo C++ was a C++ compiler and integrated development
environment and computer language originally from Borland. Most
recently it was distributed by Embarcadero Technologies, which
acquired all of Borland's compiler tools with the purchase of its
CodeGear division in 2008.
Turbo C++ 3.0 was released in 1991 (shipping on November 20), and
came in amidst expectations of the coming release of Turbo C++ for
Microsoft Windows. Initially released as an MS-DOS compiler, 3.0
supported C++ templates, Borland's inline assembler, and generation of
MS-DOS mode executables for both 8086 real mode and 286 protected
mode (as well as the Intel 80186.) 3.0 implemented AT&T C++ 2.1, the
most recent at the time. The separate Turbo Assembler product was no
longer included, but the inline-assembler could stand in as a reduced
functionality version.
Turbo C++ v1.01 and Turbo C v2.01 can be downloaded, free of charge,
from Borland's Antique Software website.
Turbo C 3.0 (DOS) was included in the Turbo C Suite 1.0, which is no
longer sold by Borland.
Turbo C
About
• About Tool
Download
• Download Turbo C
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
7. Download Turbo C
https://turboc.codeplex.com/
http://sourceforge.net/projects/turbocforwindows-9/
Turbo C
About
• About Tool
Download
• Download Turbo C
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
8. Installation & configuration
About
• About Tool
Download
• Download Turbo C
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
Turbo C
9. Installation & configuration
About
• About Tool
Download
• Download Turbo C
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
Turbo C
10. Experiment
About
• About Tool
Download
• Download Turbo C
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
Turbo C
Source Code - Input Result - Output
12. About MinGW
MinGW, a contraction of "Minimalist GNU for Windows", is a
minimalist development environment for native Microsoft Windows
applications.
MinGW compilers provide access to the functionality of the
Microsoft C runtime and some language-specific runtimes.
A port of the GNU Compiler Collection (GCC), including C, C++,
ADA and Fortran compilers;
GNU Binutils for Windows (assembler, linker, archive manager)
A command-line installer, with optional GUI front-end, (mingw-get)
for MinGW and MSYS deployment on MS-Windows
A GUI first-time setup tool (mingw-get-setup), to get you up and
running with mingw-get.
MinGW
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
13. Download MinGW
Click Here for Download:
http://www.mingw.org/download/installer or
http://sourceforge.net/projects/mingw/?source=typ_redirect
After Download the setup, Please open mingw-get-setup.exe
Note : Internet is required, because lib file will download from online by
MinGW Installation Manager Setup Tool
MinGW
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
14. Installation -
Please open mingw-get-setup.exe
Press Install Button
Default Directory is C:MinGW if you want to install at different
location, Press Change
Press Continue
Wait for few minute and press continue
Are you getting MinGW Installation Manager window ??
If yes, than follow the next step
As per your requirement you can select the package/options and
download
Select Mingn32-gcc-g++, Mingn32-gcc-objc etc
Go to menu bar > select Installation > Apply Changes
Are you getting Popup ?? > Press Apply if you want to install
Wait for minute and Installation will be completed.
MinGW
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
15. MinGW
Mingw installation manager
MinGW
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
16. Configuration
Open the “bin” folder
<where you installed MinGW>bin, By default C:MinGWbin
Copy that Url/Path : “C:MinGWbin”
Right Click on My Computer > Properties
You can see at Left-Side-bar > “Advance System Setting”,
Please Click there and goto Advance Tab
At the Advance Tab > Click on “Environment Variables”
Environment Variables > In “System Variables” Section scroll
and select Path and Click on Edit Button
You will get one popup.
MinGW
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
20. Configuration
Windows 10
You will get one popup, Click on New
paste copied path of MinGW
Like : C:MinGWbin”
Click on OK button and again click on OK button
Windows 8 and Lower version of Windows
You will get one popup, First close the last path using semi-colon
Like :
“%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;
%SYSTEMROOT%System32WindowsPowerShellv1.0”
Enter Semi-colon -- ; and paste copied path of MinGW
Like :
“%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;
%SYSTEMROOT%System32WindowsPowerShellv1.0; C:MinGWbin”
Click on OK button and again click on OK button
MinGW
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
21. Configuration
Restart your system
Now you can write a program and test your path is configured or
not
To update “mingw-get upgrade”
MinGW
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
22. Experiment
By using notepad or any other text editor write a basic program of
C++
My File is in E:cpptest_cpp.cpp
MinGW
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
Source Code - Input Result - Output