Difference between emplace_back and push_back in C++

Hi programmer’s, this is gonna be very short and simple explanation. In this article, I’m gonna explain you differences between push_back and emplace_back methods used inside vector container. Difference between emplace_back and push_back method in vector If you’re using c++ for a while, then you might have seen people using emplace_back to insert element at … Read more

Pointers and references in C++

Hi folks, today I’m going to explain conept of pointers and references in C++ in very simple terms. Pointers: Pointers variable are used to store address of another variable. And it needs to dereferenced with * operator in order to access the value stored at given location. We define pointers something like this: Declaration and … Read more