A Critique of the Proposed National Education Policy Reform
C++-Unit-1-Part-1
1. Prepared By: Asst. Prof. Sejal Jadav
Unit-1
Principles of Object Oriented Programming
Tokens, expressions & Control Statements
(14 MARKS)
B.C.A & B.Sc.(IT) – 3
CS-13 C++ and Object Oriented
Programming
Prepared By: Asst. Prof. Sejal Jadav
2. Prepared By: Asst. Prof. Sejal Jadav
Topic Cover
1. What is C++?
2. What is cross-platform language ?
3. Create High-Performance Applications
4.Why Use C++?
3. Prepared By: Asst. Prof. Sejal Jadav
• C++ is a popular programming
language.
• C++ is used to create computer
programs.
4. Prepared By: Asst. Prof. Sejal Jadav
What is C++?
• C++ is a cross-platform language that
can be used to create high-performance
applications.
5. Prepared By: Asst. Prof. Sejal Jadav
What is cross-platform language ?
•Ability of a programming language (such as
Java) that enables programmers to develop
software for several competing platforms by
writing a program only once.
6. Prepared By: Asst. Prof. Sejal Jadav
•Cross-platform software can run on most or
all systems with little or no modification. Also
called multi-platform
9. Prepared By: Asst. Prof. Sejal Jadav
Create High-Performance Applications
Real-World Applications and Uses of C++:
1) Games.
2) GUI Based Applications. Adobe Systems. ...
3) Database Software. MYSQL Server.
4) Operating Systems. Apple OS. ...
5) Browsers. Mozilla Firefox. ...
6) Banking Applications. ...
10. Prepared By: Asst. Prof. Sejal Jadav
•C++ was developed by Bjarne Stroustrup, as
an extension to the C language.
11. Prepared By: Asst. Prof. Sejal Jadav
Basic History
• C++ was developed by Bjarne Stroustrup.
• At Bell Lap 1979.
• Simula –Concept of OOP
• Simula is the name of two simulation programming languages,
Simula I and Simula 67, developed in the 1960s
• OOP ->add to C language.
• Name: C with Classes.
• 1983 : C++
• Class and Object
12. Prepared By: Asst. Prof. Sejal Jadav
•C++ gives programmers a high level of control
over system resources and memory.
Q-3 What is system resources?
•Every device connected to a computer system
is a resource. Every internal system
component is a resource.
13. Prepared By: Asst. Prof. Sejal Jadav
Update ?
•The language was updated 3 major times in
2011, 2014, and 2017 to C++11, C++14, and
C++17.
14. Prepared By: Asst. Prof. Sejal Jadav
Why Use C++?
•C++ is one of the world's most popular
programming languages.
•C++ can be found in today's operating
systems , Graphical User Interfaces, and
embedded systems.
15. Prepared By: Asst. Prof. Sejal Jadav
Q-1 What are operating systems coded in?
•Most operating systems like Windows, iOS,
Linux, Ubuntu and Android are written using a
combination of C and C++.
•Windows uses a kernel written in C, with
applications in C++.
16. Prepared By: Asst. Prof. Sejal Jadav
•Android also uses some Java for application
framework, along with C and C++.
•But in general, C and C++ are the main
languages.
17. Prepared By: Asst. Prof. Sejal Jadav
•C++ is an object-oriented programming
language which gives a clear structure to
programs and allows code to be reused,
lowering development costs.
18. Prepared By: Asst. Prof. Sejal Jadav
•C++ is portable and can be used to
develop applications that can be
adapted to multiple platforms.
19. Prepared By: Asst. Prof. Sejal Jadav
•As C++ is close to C# and Java, it makes it easy
for programmers to switch to C++ or vice
versa
20. Prepared By: Asst. Prof. Sejal Jadav
•To start using C++, you need two things:
1. A text editor, like Notepad, to write C++ code
2. A compiler, like GCC, to translate the C++ code into a
language that the computer will understand.