#cpp
Read more stories on Hashnode
Articles with this tag
std::weak_ptr is a smart pointer that holds a non-owning ("weak") reference to an object that is managed by std::shared_ptr. It is used to break...
Dynamic cast is a tool by which a we can explicitly instruct the compiler to perform type conversion at runtime. This is useful when type of an...
A stringstream is a stream that works on strings. It helps to perform IO operations on strings stringstream is versatile for parsing text in C++...
A header-only library is a library where the entire definition is available in the header files. Hence, we don't need to link to a separate library...
How do create a two dimensional vector ?? Let us find out today with this code nugget, #include <iostream> #include <vector> #define rowCount...
Run the following example in any C++ environment of your choice, What would be output that you're expecting ? #include<iostream> struct Box { Box()...