C++ Undefined reference to std::cout [FIXED] In this article, we have present the reason behind the error "Undefined reference to std::cout" and different approaches to fix this error.
C++ Optimized Input Output I/O in C++ In this article, we have presented how to optimize input and output I/O in C++. This is critical as input and output consume the majority of the execution time and is critical in time critical applications and in competitive programming contests.
C++ Optimize C++ Code [30 techniques] In this article, we have presented over 30 techniques which you can use to optimize your C++ code to make it perform optimally and pass time restrictions in Competitive Contests.
C++ Set array to 0 in C++ [5 methods] In this article, we have presented different ways using which one can set all elements in an array to 0 in C++. We have presented an assembly level approach (advanced) as well.
C++ Convert char* to uint8_t [2 methods] In this article, we have covered different approaches to convert char* to uint8_t.
C++ Convert int to uint8_t In this article, we have presented how to convert int to uint8_t considering explicit casting and overflow of uint8_t.
C++ uint8_t cannot be printed In this article, we have explored the reason uint8_t cannot be printed with std::cout and multiple fixes that can be used to print uint8_t values.
C++ Fastest and Smallest Fixed width integer types in C++ (int_least8_t, int_fast8_t, ...) In this article, we are going to learn about the Fastest and Smallest types of Fixed width integer types in C++ such as int_least8_t, int_fast8_t and more.
C++ Print boolean in C++ [using std::boolalpha and std::noboolalpha] In this article, we have presented how to print boolean values in C++ (as integer and text) and explored the concepts of std::boolalpha and std::noboolalpha.
C++ Convert std::vector<float> to float* In this article, we have explored 2 different approaches to convert std::vector to float* in C++.
C++ TCHAR, WCHAR, LPSTR, LPWSTR, LPCTSTR in C++ In this article, we are going to learn about the TCHAR, WCHAR, LPSTR, LPWSTR, LPCTSTR in C++ along with code examples.
C++ cout is not a member of std [FIXED] In this article, we have explored the reason behind the error "cout is not a member of std" and 2 fixes to resolve this compilation error with C++ code.
C++ [FIXED] /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.16' not found In this article, we have explored the cause of the error "/usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.16' not found" and presented 3 fixes to resolve this runtime error.
C++ Different ways to pause a program in C++ In this article, we are going to learn about the different ways to pause a program in C++. With the help of this method or function, you will be able to pause any C++ program during execution.
C++ Convert uint8_t* to char* in C++ In this article, we have presented how to convert an array of uint8_t (uint8_t*) to an array of char (char*).
C++ Undefined reference to pthread_create [FIXED] In this article, we have explored the reason behind the error "Undefined reference to pthread_create" and presented two fixes in the compilation command to fix this compilation error.
C++ Print double value with full precision in C++ [7 methods] In this article, we have presented several methods to print double or float values with desired precision in C++ using cout.
C++ Convert array of uint8_t (uint8_t*) to string in C++ [3 methods] In this article, we have presented different ways to convert an array of uint8_t (uint8_t*) to string in C++.
C++ Extract integers from string and store in vector using C++ In this article we will learn how to extract integers from a string and store it in a vector using C++.
C++ Different ways to terminate a program in C++ In this article, we were going to learn about the different ways with which we will be able to terminate the program at any point of the execution of the C++ program.
C++ Ways to iterate over Vector in C++ STL In this article, we have explored different ways to iterate over Vector in C++ STL. These include techniques like indexing, iterators, range based for loop and much more.
C++ Build GCC from source [GCC v12.2.0] In this article, we have presented the steps to build any version of GCC from source and install it.
C++ [FIXED] error: 'vector' is not a member of 'std' In this article, we have explored the compilation error "'vector' is not a member of 'std'" and presented the fix to resolve it.
C++ 'cout' was not declared in this scope [FIXED] In this article, we have explored the reason behind the compilation error "cout was not declared in this scope" and how to fix it.
C++ Split String in C++ [3 ways] In this article, we will see different ways a string can be splitted in C++. This involve the use of find(), substr() and much more.