Comprehensive C++ Notes: A Guide to Mastering C++ Programming part 2
2 views 0 purchase
Module
BCA 110 (BCA110)
Institution
Barkatullah University
C++ is a general-purpose programming language known for its efficiency, flexibility, and performance. It was developed by Bjarne Stroustrup in 1983 as an extension of the C programming language, introducing object-oriented programming (OOP) features while retaining the power and speed of C.
The Bhopal School of Social Sciences
(Affiliated to Barkatullah University, Bhopal)
E-Content (Study Material)
for
UNIT – I
Part-2
Page 1 of 12
, 1. Introduction to C++
C++ was developed by Bjarne Stroustrup (Bell Labs, 1979) and it started as extension to C (macros and
variables). C++ added new useful features to C.
Features of C++:
• Object Oriented
• Simple to learn and implement
• Mid-level programming language
• Structured programming language
• Rich Library
• Memory Management
• Powerful & Fast
2. History of C++:
Year Language Developed by Remarks
1960 ALGOL International Committee Too general, Too abstract
1963 CPL (Combined PL) Cambridge University Hard to learn, Difficult to implement
1967 BCPL (Basic CPL) Martin Richards Could deal with only specific problems
1970 B Ken Thompson AT & T Bell Labs Could deal with only specific problems
1972 C Dennis Ritchie AT & T Bell Labs Lost generality of BCPL and B restored
Early 80’s C++ Bjarne Stroustrup AT & T Introduces OOPs.
3. Application of C++:
• To Design OS • Development of new languages
• Engineering Applications • Embedded System Programming
• Desktop Applications • Compiler Design
• Game Development • Design Web Browsers
4. Compiling and Linking:
■ After writing a C++ program, the next step is to compile the program before running it.
■ The compilation is the process which converts the program written in human readable language
like C, C++ etc. into a machine code, directly understood by the Central Processing Unit.
■ There are many stages involved in creating a executable file from the source file. The stages
include Preprocessing, Compiling and Linking in C++.
■ This means that even if the program gets compiled, it may result in not running as errors may arise
during the linking phase.
Page 2 of 12
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller myraaa9900. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £6.69. You're not tied to anything after your purchase.