Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
12 views10 pages

Programming I

C++ is an object-oriented programming language created by Bjarne Stroustrup in 1980 as an extension of the C language, which was developed by Dennis Ritchie in the early 1970s. It combines the efficiency of C with features from Simula for program organization and is widely used in various applications, including major systems like Amazon and Google. C++ is essential for software engineers due to its close relationship with hardware, allowing for better performance and control over memory management.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
12 views10 pages

Programming I

C++ is an object-oriented programming language created by Bjarne Stroustrup in 1980 as an extension of the C language, which was developed by Dennis Ritchie in the early 1970s. It combines the efficiency of C with features from Simula for program organization and is widely used in various applications, including major systems like Amazon and Google. C++ is essential for software engineers due to its close relationship with hardware, allowing for better performance and control over memory management.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 10
PROGRAMMING | USING C++ BRIEF HISTORY AND SIMILARITY OF C+ + and C Bjarne Stroutrup created C++ in 1980 at Bell Labs It is very similar to C Programming created in the early 1970s by Dennis Ritchie C++ is an extension of C Language C++ provides Simula’s facilities for program organization together with C’s efficiency and flexibility for systems programming. C++ is compatible with C that it runs more than 99% of C programs without changing a line of source code. C++ is structured and OOPs language safer than C. C++ is superset of C and it’s C with Classes WHAT IS C++ * C++ is a general purpose object oriented programming language * Object Oriented Programming Language is a notion or a way of writing a program where classes and objects are used. + It has a wide variety of use cases and is used in large areas. * C++ is a middle-level language. It encapsulates both high and low level language features. * It supports both procedural and OOP paradigms; therefore C++ is also called a hybrid language WHY C++ * C++ is a MUST for students and working professionals to become a great software engineer. * C++ is very close to hardware, so you get a chance to work at a low level which gives you a lot of control in terms of memory magement, better performance and finally robust software development. . Soprrogramming gives you a clear understanding about * C++ is one of the ever green programming languages and loved by millions of software developers. * C++ is the most widely used programming language in applications and system programming. APPLICATIONS OF C++ + Some of today’s most visible used systems have their critical parts written in C++, example + Bloomberg (financial formation) + Amazon (Web commerce), Google (Web search) + Facebook (social media) Many programming languages depend on C++’s performance and reliability in their implementation. Examples include: + Java Virtual Machines + JavaScript interpreters (e.g. Google’s V8) Browsers (eg. Internet Explorer, Mozilla’s FireFox, Apple’s Safari, and Google’s Chrome) Applications and web frameworks (eg.Microsoft’s Net Web services framework) C++ is used to create games and graphics. C++ is used in ATM machnes from which you withdraw cash. C++ is used to create desktop applications used in a daily basis WHAT IS A PROGRAMMING LANGUAGE? + Ita notion through which we write commands for the computers so that they can understand and execute a particular task. + SO HOW DOES THIS WORK? First the commands are written in English based C++ language Then, the English based commands are sent to a compiler The Compiler converts the English like based commands into numbers containing ones and zeroes (1s, Os), that is in binary form. These numbers feeded to the computer The computer reads these commands and performs the taks. This is how a C++ program works. FIRST PROGRAM + Let’s install some code editor- CODE BLOCKS Download the following version codeblocks-13.12.mingw setup-T DM-GCC-481.exe * Open your editor and let’s write some code HELLO WORLD PROGRAM 1 #include 2 using namespace std; 3 int main() { 4 cout<<“Hello World!”; 5 return 0; 6} Output would be Hello Word! HELLO WORLD EXPLAIN + Line 1: #include + Line2:..... + Andso on

You might also like