0% found this document useful (0 votes)
3 views8 pages

Introduction To C

C++ is a powerful programming language created by Bjarne Stroustrup in the early 1980s, originally known as 'C with Classes', and standardized in 1998. It encompasses fundamental concepts such as variables, data types, control structures, and object-oriented programming, making it versatile for software, game, and operating system development. The language continues to evolve with modern features, ensuring its relevance and performance in various applications.

Uploaded by

11a1 My
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views8 pages

Introduction To C

C++ is a powerful programming language created by Bjarne Stroustrup in the early 1980s, originally known as 'C with Classes', and standardized in 1998. It encompasses fundamental concepts such as variables, data types, control structures, and object-oriented programming, making it versatile for software, game, and operating system development. The language continues to evolve with modern features, ensuring its relevance and performance in various applications.

Uploaded by

11a1 My
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Introduction

to C++
A powerful and versatile programming language.

Widely used for building software, games, and operating


systems.

NP
by Ngoc My Phan
History and evolution
of C++
Created by Bjarne Stroustrup in the early 1980s.

1 Early Years
Originally called "C with Classes".

2 Standardization
First standardized in 1998.

3 Modern C++
Continuous development with new features.
Fundamental concepts
of C++
Includes concepts like variables, data types, and operators.

1 Variables
Store data in memory.

2 Data Types
Define the type of data a variable can hold.

3 Operators
Perform operations on data.

4 Control Flow
Control the order of execution.
Data types and
variables in C++
Basic data types include integers, floating-point numbers,
and characters.

Data Type Description

int Whole numbers

float Decimal numbers

char Single characters


Control structures and loops in C++
Control the flow of execution in a program.

if-else Statements
Execute different code based on conditions.

Loops
Repeat code blocks multiple times.

Switch Statements
Select code blocks based on a value.
Functions and modules in C++
Functions break down code into reusable blocks.

Functions Modules Namespaces

Perform specific tasks. Organize code into logical units. Prevent name collisions.
Object-oriented programming in C++
A paradigm that uses objects and classes to structure programs.

Classes Objects
Blueprints for creating objects. Instances of classes.

Inheritance Polymorphism
Create new classes based on existing ones. Allows objects to take on different forms.
Conclusion and future of C++
A powerful language with a bright future.

Performance
Excellent performance.

Gaming
Widely used for game development.

Systems
Used for operating systems and embedded systems.

Modern C++

You might also like