Hei  Friends Today I will tell you about the BASIC CONCEPTS OF C++ LANGUAGE.


1.CHARACTER SET– The Character set of C++ consists of a letter, numbers, punctuation marks, special character, and blank(White Space) Character.The letters and numbers are used to form constant, variables, identifiers and Keywords. The punctuation marks and special characters have the explicit meaning in C++ and can only be used as defined in C++.

2.WHITE SPACE CHARACTER–  Any character that produces a blank space when printed is called white space character. The White Space Character are s[aces, tabs, new lines, and comments. White Space Character separate adjacent words in C++.Use them freely to make programs easier to read and understand.

3.TOKENS– When the compiler is processing the source code of a program, of characters separated by White space is called Tokens.


(i).IDENTIFIERS– The term identifier are used to describe the name of constants, variable and Functions. Identifiers may have for internal identifiers, at least the first31 character are significant. An identifier is a sequence of letters and digits. The first character must be a letter including the underscore(_). Upper and lower case letters are different, Identifiers or names refer to a variety of things. Apart from constants, Variables, and function. Identifiers include structures, unions, enumeration and objects.

(ii).KEYWORDS– Keywords (also known as the reserved words) has special meaning to the compiler and are always written or typed in short (lower) case. These are reserved by the language for a special purpose and cannot be redefined for use as identifiers.

(iii).Literals– Literals or constant are those tokens whose value do not change during the program execution. The various literals are integers constants, a character constant, Floating constant and string constant.

(iv).OPERATORS– Operators operate on some data to give the result e.g. plus operator(+) operators on two numbers to give the sum.

  • Arithmetic Operators.
  • Bitwise Operators.
  • Relational Operators.
  • Assignment Operators.
  • Logical Operators.
  • Conditional Operators.
  • Increment/decrement Operators.
  • Special Operators.

(v)PUNCTUATORS OR SPECIAL CHARACTER– Punctuators are used to separate tokens in a program. The various punctuators are (. ; : {} [] () = # *).


C++ supports the variety of data types and programmer can select the appropriate type as the need of the application.

C++ supports the following data types.

(i)FUNDAMENTAL DATA TYPES– These are the data types that are not composed of any other data types.

There are five fundamental data types in C++.

char, float, int, double and void.

(ii)DERIVED DATA TYPES– These are the data types that are composed of fundamental data types.

These are.

Array, Function, pointer, Reference, Constant, Class, Structure, Union and enumeration.

VARIABLE– string and numeric values can be stored in the memory of the computer for subsequent recall whenever the memory is used for this purpose, It’s the programmer must assign a unique name to each such area in memory.

A variable is an entity which may vary during the program’s execute. It value can be change during program execution.


(i)A variable name can be any combination of alphabets, digits or underscore.

(ii)The first characterin variable name must be an alphabet.

(iii)No commas or blanks are allowed within a variable name.

(iv)A variable name can be any combination of alphabets, digits or underscore.

(v)No special symbols other than underscore(_) can be used in the variable name.


Most programs need to output data in various styles. C++ offers the programmer several input/output manipulators. Two or most common manipulators are setw() and setprecision().

(i)setw()–The setw()stands for set width. It is used to specify the minimum number of character position on the output field a variable will consume.  The general format is —>  setw(int w)

where,  w specifies the width e.g. cout<<setw(5)<<“x”; generates the output on the screen.

(ii)setprecision()–It is used to control the number of digits of an output stream of a floating point value. The general format is—> setprecision()

where, P specifies the precision.

The header file required for setprecision manipulators is









  1. Can I simply just say what a comfort to uncover a person that genuinely knows what they are discussing over the internet. You certainly know how to bring a problem to light and make it important. More people ought to check this out and understand this side of your story. I can’t believe you’re not more popular because you most certainly possess the gift.

  2. excellent publish, very informative. I wonder why the opposite experts of this sector do not notice this. You should proceed your writing. I am confident, you have a great readers’ base already!

  3. It is really a nice and helpful piece of information. I am happy that you just shared this useful info with us. Please keep us informed like this. Thank you for sharing.

  4. We are a group of volunteers and opening a new scheme in our community. Your website provided us with valuable info to work on. You’ve done a formidable job and our whole community will be grateful to you.

  5. Hello! Do you know if they make any plugins to assist with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains. If you know of any please share. Thanks!

  6. Unquestionably believe that which you stated. Your favorite reason appeared to be on the web the easiest thing to be aware of. I say to you, I certainly get irked while people think about worries that they plainly don’t know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks

  7. Wow that was odd. I just wrote an really long comment but after I clicked submit my comment didn’t show up. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say great blog!

  8. Hi there, just became aware of your blog through Google, and found that it is truly informative. I’m gonna watch out for brussels. I’ll be grateful if you continue this in future. A lot of people will be benefited from your writing. Cheers!

  9. Thanks , I’ve just been searching for info approximately this topic for a long time and yours is the best I’ve came upon till now. However, what in regards to the conclusion? Are you sure in regards to the supply?

  10. Hi! This is kind of off topic but I need some advice from an established blog. Is it very difficult to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about setting up my own but I’m not sure where to begin. Do you have any tips or suggestions? Many thanks

  11. Howdy, you’re certainly correct. I always read your articles closely. I’m likewise considering aadhar card status enquiry phone number, you could talk about this from time to time. Cheers!

  12. Hey there! Do you know if they make any plugins to help with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good success. If you know of any please share. Thank you!

  13. It’s really a nice and useful piece of information. I am satisfied that you simply shared this useful info with us. Please stay us up to date like this. Thanks for sharing.

  14. Somebody necessarily help to make seriously posts I would state. This is the very first time I frequented your website page and so far? I amazed with the analysis you made to create this particular submit amazing. Great job!

  15. I’m truly loving the theme/design of your blog. Do you run into any kind of browser compatibility situations? A lot of my site readers have complained regarding my pour over coffee makers blog not operating properly in Internet Explorer yet seems excellent in Chrome. Are there any suggestions to help fix that matter?

  16. Thanks a lot for discussing the idea, I saved the site. I’m also seeking details about omega xl walgreens, have you any idea exactly where I might find a thing such as this? I will come back soon!

  17. I used to be suggested this blog through my cousin. I’m no longer positive whether this submit is written by means of him as nobody else recognize such precise about my problem. You’re amazing! Thank you!

  18. Somebody necessarily assist to make seriously posts I might state.

    This is the very first time I frequented your website
    page and thus far? I surprised with the research you made to make this particular submit incredible.
    Fantastic activity!


Please enter your comment!
Please enter your name here