C Programming Clear Console in C During the execution of the program, the developer needs to clear the screen or remove the previous output for new output. To clear the console screen in the C language many methods are available.
C++ map::begin and map::end in C++ In this article, we have covered the concept of map::begin and map::end in C++ STL along with C++ code examples.
Linux KMP_HW_SUBSET [complete guide] KMP_HW_SUBSET is an OpenMP environment variable that is used to control the distribution of hardware threads across machine topology. This gives finer control compared to OMP_NUM_THREADS.
C++ std:to_string and std::to_wstring in C++ In this article, we have explored the functions std:to_string and std::to_wstring in C++ STL along with the difference between string and wstring (wide string).
C++ Memset array to 1 in C++ In this article, we have explored the problem of setting an array of int to 1 using memset in C++ and the solution for it.
C++ Working with 2D Maps in C++ In this article, we will learn how to work with two-dimensional (2D) maps in C++. We have explained the concept using C++ code examples.
C++ Definition vs Declaration vs Initialization in C/ C++ In this article, we have covered the differences between 3 core terms Definition, Declaration and Initialization in C and C++ along with code snippets.
C++ Segmentation fault in C and C++ In this article, we have explored the idea of Segmentation fault in C and C++ along with different possible reasons for Segmentation fault in C and C++.
C++ T&& (double ampersand) in C++11 In this article, we have explored the idea of T&& (double ampersand) in C++11. T&& was firstly introduced in the C++ 11 standard which declares an rvalue reference.
C++ typedef vs using in C++ In this article, we will explore the differences between the two type aliases in C++ - typedef and using.
C++ Different ways to append two vector in C++ STL In this article, we have explored Different ways to append two vector in C++ STL which include std::copy, insert, concat, overloaded + operator and other functions.
C++ Iterate String word by word in C++ [5 Methods] In this article, we are going to discuss different methods to iterate a String word-by-word using C++ libraries/techniques.
C++ Different ways to delete string in C++ In this article, we have explored different ways to delete string in C++ which include clear, resize, erase, swap functions along with other techniques.
C++ Null and void in C and C++ In C and C++ Programming language, NULL and void have two distinct meanings and use cases like NULL reference, void pointer and much more. We have explored this in depth.
C++ Sort Map in C++ STL In this article, we have explained different ways to sort a Map in C++ STL using C++ code snippets.
C++ Variable in C++ In this article, we will learn everything about the variables in C++ including rules of variable naming, types of variables and much more.
C++ Initialization of Multiset in C++ In this article, we have explored 6 different ways to initialize Multiset in C++ STL along with C++ code snippets for each approach.
C++ * vs ** pointer in C In this article, we have explained the difference between * and ** pointer in C and C++.
C++ Compiling a C program using GCC In this article, we have covered how to compile a C program using the GCC compiler along with the different stages such as Preprocessing, compiling, assembling and linking.
C++ Reverse Deque in C++ STL In this article, we have presented different ways to Reverse Deque in C++ STL. This involve the use of reverse iterator of Deque or the Reverse method in C++ STL.
C++ Different ways to reverse vector in C++ STL In this article, we take a look at different ways to reverse vector in C++ Standard Template Library (STL) along with reversing a 2D vector.
C++ Return value of main() in C / C++ The return value of main() function shows how the program exited. The normal exit of program is represented by zero return value. If the code has errors, fault etc., it will be terminated by non-zero value.
C++ Different ways to initialize List in C++ STL In this article, we have explained Different ways to initialize List in C++ STL including Initializing list with elements of another list, using a vector or array and much more.
C++ Dot Product of Two Vectors in C++ In this article, we have presented two different ways to do Dot Product of Two Vectors in C++. This involves the use of inner_product method in C++ STL (Standard Template Library).