Professional Documents
Culture Documents
Summer Training Report
Summer Training Report
Summer Training Report
Submitted by
Abhishek Dubey (18EEJCS002)
CERTIFICATE
This is to certify that the work contained in this Report entitled “Basics Of
C++” is submitted by Mr.Abhishek Dubey (18EEJCS002) to the Depart-
ment of Computer Science and Engineering, Engineering College Jhalawar,
for the partial fulfillment of the requirements for the workshop in Computer
Science and Engineering.
Acknowledgment
iii
Contents
Acknowledgements iii
1 Introduction 3
1.1 About C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Application Of C++ . . . . . . . . . . . . . . . . . . . . . . . 3
3 Flow Of Control 7
3.1 C++ Loop Types . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 C++ decision making statements . . . . . . . . . . . . . . . . 8
4 Functions 10
4.1 C++ Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 10
References 14
References 14
iv
List of Figures
List of Tables
Chapter 1
Introduction
Chapter 2
• Integer Type
• Floating type
2. Enumerated types
They are again arithmetic types and they are used to define variables that
can only assign certain discrete integer values throughout the program.
4. Derived Types
They include
• Pointer types
• Array types
• Structure types
• Union types
• Function types
2.2 Operators
1. Relational Operator
2. Arithmetic Operator
3. Logical Operator
Chapter 3
Flow Of Control
Chapter 4
Functions
10
• Function Name : This is the actual name of the function. The function
name and the parameter list together constitute the function signature.
Example :
11
Chapter 5
12
For example, we defined the Box data type using the keyword class as
follows
Both of the objects Box1 and Box2 will have their own copy of data
members.
13
References
[1] https://www.tutorialspoint.com/cplusplus/index.htm
[2] www.w3schools.com
14