Skip to content

Category Archives: C++

Pairs in C++: The pair container is a simple container defined in <utility> header consisting of two data elements or objects. The first element is… Read More
Pre-requisite: unordered_set,  unordered_map  C++ provides std::unordered_set and std::unordered_map to be used as a hash set and hash map respectively. They perform insertion/deletion/access in constant average… Read More
 C++ offers its users a variety of functions, one of which is included in header files. In C++, all the header files may or may… Read More
In C++, a trigraph is a three-character sequence that represents a single character. It means that trigraph sequences are the set of three characters starting… Read More
C++
Competitive Programming teaches one to find the easiest solution in the quickest way possible. And C++ has always been loved by almost all the competitive… Read More
The auto keyword in C++ specifies that the type of the variable that is being declared will be automatically deducted from its initializer. In case… Read More
Array within a Structure A structure is a data type in C/C++ that allows a group of related variables to be treated as a single… Read More
Standard Output Stream(cout): The C++ cout statement is the instance of the ostream class. It is used to display output on the standard output device… Read More
Forward List is a sequence container that allows unidirectional sequential access to its data. It contains data of the same type. In STL, it has… Read More
Short-circuiting is one of the optimization steps of the compiler, in this step unnecessary calculation is avoided during the evaluation of an expression. Expression is… Read More
Range-Based ‘for’ loops have been included in the language since C++11. It automatically iterates (loops) over the iterable (container). This is very efficient when used… Read More
C language has numerous libraries that include predefined functions to make programming easier. In C language, header files contain a set of predefined standard library… Read More
Pointers: A pointer is a variable that holds memory address of another variable. A pointer needs to be de referenced with * operator to access… Read More
Nowadays Java and C++ programming languages are vastly used in competitive coding. Due to some awesome features, these two programming languages are widely used in… Read More

Start Your Coding Journey Now!