Page 15 - Modular_V1.1_Flipbook
P. 15
02 GETTING STARTED
WITH C++
Your Aim
to learn about:
C++ Character Set More Solved Programs
Before creating programs in C++, let us first learn about its fundamental concepts. This chapter
introduces you to the basic concepts of C++ such as character set and tokens used in C++
programming.
C++ CHARACTER SET
A character set refers to the letters, digits or special symbols that can be used to write programs
in C++ language. These are:
Characters Uses
Letters A–Z or a–z
Digits 0–9
Special symbols ~ ‘ ‘ ! @ # $ % ^ & ( ) * - _ + = : \ ] { } ; “ < > , ? | `
Tokens of C++
Tokens are the smallest individual units of a C++ program. These are divided into the following
categories:
Keywords Data Types Variables
Constants Delimiters Operators
Let us learn about these in detail.
Keywords
Keywords are the reserved words which cannot be used as variable names as they carry a special
meaning for the compiler. In C++, keywords are case sensitive.
Getting Started with C++ 13

