The Character Set of C++
Notes:
The Character Set of C++ Programming Language:
First step in learning any language is; knowing its character set.
How do we have learnt English language?
Character set of English language: contains
Alphabets: A - Z & a – z
Digits: 0,1,2,3,4,5,6,7,8,9
Special Characters: , , ., ;, :, ~,!,@,#,$,%,^,&,*,(,),-,_,+,= etc.
Character set: is set of characters used in the language for forming words, sentences, paragraphs etc.
As C++ is also a language, it also has set of characters used in forming tokens, instructions, programs etc.
Character set of C++ language: contains
Alphabets: A - Z & a – z
Digits: 0,1,2,3,4,5,6,7,8,9
Special Characters:, , ., ;, : ~,!,@,#,$,%,^,&,*,(,),-,_,+,= etc.
Escape sequence characters: \n, \t ,\v,\a,\b,\\,\”,\’ etc.
Note: All C++ programming language characters are defined using ASCII character set. ASCII stands for American Standards Code for Information Interchange; it is a 7bit character encoding system.