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 »