COMPUTER
CLASS : 12 th
SCIENCE
C++ PROJECT
By : ANUSH AVINASH DEOTARE
MAHARSHI JUNIOR COLLEGE AMRAVATI
CERTIFICATE
This is to certify that "ANUSH A. DEOTARE”
student of class- 12th "SCIENCE (PCM)" has
successfully completed his computer
science Project on "C++”.
Signature of Signature of
Teacher principal
ACKNOWLEDGEMENT
I would like to express my special thanks of
gratitude to my teacher as well as our principal
who gave me the golden opportunity to do this
wonderful project on the topic "C++" which
also helped me in doing a lot of Research and I
came to know about so many new things I am
really thankful to them.
Secondly, I would also like to thank my parents
and friends who helped me a lot in finalizing
this project within the limited time frame.
Anush A. Deotare
Class: 12th
C++
Overview of C++
C++ is a general-purpose, free-form programming language
created by Bjarne Stroustrup in 1979 at Bell Labs in Murray
Hill, New Jersey, as an enhancement to the C language. Since
it is an extension of C, it is also known as C with classes. It
was specifically designed with an orientation towards large
systems and resource-constrained software. Since its
inception, C++ has expanded significantly over time. The
latest version (C++20) has object-oriented, functional, and
generic features in addition to low-level memory
manipulation. The biggest advantage of C++ is that it is super
scalable and allows developers to have a lot of control over
how their applications use up resources.
What is C++ Used For?
C++ (or “C-plus-plus”) is a general-purpose
programming and coding language. C++ is used in
developing browsers, operating systems, and
applications, as well as in-game programming, software
engineering, data structures, etc.
Advantages of C++ Over Other
Languages
1. Object-Oriented
C++ is an object-oriented programming language which
means that the main focus is on objects and
manipulations around these objects. This makes it much
easier to manipulate code, unlike procedural or
structured programming which requires a series of
computational steps to be carried out.
2. Speed
When speed is a critical metric, C++ is the most
preferred choice. The compilation and execution time of
a C++ program is much faster than most general-
purpose programming languages.
3. Compiled
Unlike other programming languages where no
compilation is required, every C++ code has to be first
compiled to a low-level language and then executed.
4. Rich Library Support
The C++ Standard Template Library (STL) has many
functions available to help write code quickly. For
example, there are STLs for various containers like hash
tables, maps, sets, etc.
5. Pointer Support
C++ also supports pointers which are often not available
in other programming languages.
6. Closer to Hardware
C++ is closer to hardware than most general-purpose
programming languages. This makes it very useful in
those areas where hardware and software are closely
coupled together, and low-level support is needed at the
software level.
Uses of C++ (With Real-World
Applications)
Almost all the programs and systems that you use or a
part of their codebase is written either in C or C++. Be it
Windows, a web browser, your favorite game, or a video
editing software, the uses of C++ can be found in almost
all applications today. Here are some interesting areas
where C++ is popularly used.
1. Operating Systems
C++ is a fast and strongly-typed programming language
which makes it an ideal choice for developing operating
systems. Mac OS X has large amounts written in C++.
Most of the software from Microsoft like Windows,
Microsoft Office, IDE Visual Studio, and Internet
Explorer are also written in C++.
2. Games
Since C++ is closer to hardware, game development
companies use it as their primary choice to develop
gaming systems. It can easily manipulate resources and
can override the complexities of 3D games and
multiplayer networking.
3. GUI Based Applications
C++ is also used to develop GUI-based and desktop
applications. Most of the applications from Adobe such
as Photoshop, Illustrator, etc. are developed using C++.
4. Web Browsers
Web browsers need to be fast in execution as people do
not like to wait for their web pages to be loaded. This is
why most browsers are developed in C++ for rendering
purposes. Mozilla Firefox is completely developed from
C++. Google applications like Chrome and Google File
System are partly written in C++.
5. Embedded Systems
Various embedded systems that require the program to
be closer to hardware such as smart watches, medical
equipment systems, etc., are developed in C++. It can
provide a lot of low-level function calls, unlike other high-
level programming languages.
6. Banking Applications
Since banking applications require concurrency, multi-
threading, concurrency, and high performance, C++ is
the default choice of programming language. Infosys
Finacle is a popular banking application developed using
C++.
7. Compilers
The compilers of many programming languages are
developed in C and C++. This is because they are
relatively lower-level when compared to other higher-
level languages and are closer to the hardware.
8. Database Management Software
C++ is also used to write database
management software. The world’s most popular open-
source database, MySQL, is written in C++.
9. Cloud/Distributed Systems
Cloud storage systems that are used extensively need
to work closer to the hardware. This makes C++ the
default choice for implementing cloud storage systems.
These systems also require multithreading support to
build concurrent applications that support load tolerance,
which C++ provides. Bloomberg is a distributed RDBMS
application that is primarily written in C, but its
development environment and set of libraries are all
written with C++.
10. Libraries
Libraries require very high-level mathematical
computations, performance, and speed. Hence C++ is
the core programming language used by most
libraries. Tensor flow, one of the most popularly used
Machine Learning libraries uses C++ as its backend
programming language.
11. Switches
Because C++ is one of the fastest programming
languages, it is widely used for programming routers,
telephone switches, and space probes.
12. Advanced Computation and Graphics
Just like web browsers, all graphics applications require
fast rendering. High-end graphical processing, computer
vision, or digital image processing software all use C++
as the backend programming language.
Hardware Needed:
Intel CPU: Quad core 2GHZ or Higher.
AMD CPU: Quad core 3GHZ or Higher.
8 GB RAM minimum recommended.
500 GB Standard Hard Drive (250 GB Solid State Hard
Drive)
Monitor: 1080p or higher (we strongly recommend
having more than a single screen).
Internet: Broadband with 10 Mbs download and 1.0 Mbs
upload.
Software Needed:
Microsoft Windows Apple Mac OS
Windows 10 Pro (32-bit & macOS Ventura 13
64-bit)Windows 11 Pro macOS Monterey 12.2.1
Supported
(32-bit & 64-bit) macOS Big Sur 11.6.4
Versions
(All versions are 64-bit
only.)
As of 3/4/2022, TCN As of 3/4/2022, TCN
provides Sentinel One provides Sentinel One
Anti-Virus (Paid
EDR antivirus that will be EDR antivirus that will be
Only)
installed on your computer installed on your
Latest year or
during your onboarding computer during your
version.
compliance check. onboarding compliance
check.
As of 3/4/2022, TCN As of 3/4/2022, TCN
provides Sentinel One provides Sentinel One
Anti-Malware EDR antimalware that will EDR antimalware that
Latest year or be installed on your will be installed on your
version. computer during your computer during your
onboarding compliance onboarding compliance
check. check.
As of 3/4/2022, TCN As of 3/4/2022, TCN
provides Sentinel One provides Sentinel One
Firewall EDR firewall that will be EDR firewall that will be
Latest year or installed on your computer installed on your
version. during your onboarding computer during your
compliance check. onboarding compliance
check.
BitLocker (Windows 10 FileVault 2
Hard Drive
Pro)
Encryption
BitLocker (Windows 11
AES 256-bit
Pro)
required.
Brave (Latest) Apple Safari (Latest)
Mozilla Firefox (Latest) Mozilla Firefox (Latest)
Internet Browser
Google Chrome (Latest) Google Chrome (Latest)
Citrix Online Plug-In Citrix Online Plug-In
Citrix Framework
Citrix Workspace App Citrix Workspace App
Latest version.
7-zip The Archive Browser
WinZip Keka
Archive Software
WinRAR
Microsoft Office 365 Microsoft Office 365
Office Software
Adobe Reader Preview
PDF File Software Adobe Reader
Encoder Pro Encoder Pro (via virtual
Coding Specific
machine or BootCamp) *
C++ Program to Find the Largest
Number using if-else.
Input :
// C++ Program to Find Largest Among
// Three Numbers Using if-else
// Statement
#include <bits/stdc++.h>
using namespace std;
// Driver code
int main()
{
int a, b, c;
cout << "Enter the three numbers a, b & c"
<< endl;
cin >> a >> b >> c;
if (a >= b) {
// If 'a' is greater than or equal to
'b', compare
// 'a' with 'c'
if (a >= c) {
// If 'a' is also greater than or
equal to 'c',
// it is the largest number
cout << "The Largest Among Three
Numbers is : "
<< a << endl;
}
else {
// If 'a' is not greater than or
equal to 'c',
// 'c' must be the largest number
cout << "The Largest Among Three
Numbers is : "
<< c << endl;
}
}
else {
// If 'b' is greater than 'a', compare
'b' with 'c'
if (b >= c) {
// If 'b' is also greater than or
equal to 'c',
// it is the largest number
cout << "The Largest Among Three
Numbers is : "
<< b << endl;
}
else {
// If 'b' is not greater than or
equal to 'c',
// 'c' must be the largest number
cout << "The Largest Among Three
Numbers is : "
<< c << endl;
}
}
return 0;
}
Output:
BIBLIOGRAPHY
I ANUSH A. DEOTARE of class 12 .I have done this project
with the help, subject teacher.
I used:-
➤ WordPad
➤Internet Explorer.
➤Site: https://www.simplilearn.com
For finalizing this project.
Thank you.....