Learn C++

Better Alternatives for ‘using namespace std’ in C++

Most new C++ programming students are taught to add “using namespace std” in the global scope after introducing the headers needed for their programs to compile successfully. As a result, students grow accustomed to engaging in this practice without realizing how bad it is. Including ‘using namespace std’ in the global scope is bad practice. …

Better Alternatives for ‘using namespace std’ in C++ Read More »

C++ Variables

In this section we will be studying the concepts of variables in C++ programming language. We hope you guys must have heard about variables in C or somewhere else. Though it is not a very complex topic to discuss in detail but let’s see what we have to say for this. C++ Variables We can …

C++ Variables Read More »

C++ Tokens – Keywords, Constants, Identifiers, Strings, Operators & Special Symbols

Here you will learn about C++ tokens, keywords, constants, identifiers, strings, operators and special symbols. What are Tokens? In simple words, we can say that tokens are the smallest component pertaining to any program that make sense to the compiler, i.e. compiler can very easily understand that. We can classify the tokens into six different …

C++ Tokens – Keywords, Constants, Identifiers, Strings, Operators & Special Symbols Read More »