Software Engineering endl vs \n (New Line) in C++ In C++, endl and /n are used to break lines or move the cursor to a new line. Both endl and \n may seem to be similar but has distinct differences which we have explored in this article in depth.
Software Engineering Set vs Map containers in C++ This article is to discuss the difference between a set and a map which are both containers in the Standard Template Library in C++.
Software Engineering Different ways to insert elements in Deque in C++ We have explored different ways to insert elements in Deque in C++ such as deque::push_back(), insert(), assign(), emplace(), swap() and much more.
Software Engineering Using strings and characters in C++ safely Secure Coding in C++ or why we have to use strings and characters in C++ safely? What is C++, what are Strings and Buffer Overflows? And something about software vulnerabilities and exploits
System Design Memory Pool with C++ Implementation Memory Pool is an optimization technique of allocating a specific amount of memory beforehand and handle all allocation and deallocation of memory from a concerned software system from this pre-allocated memory (which is known as Memory Pool).
Software Engineering Different ways to initialize an array in C++ We have covered Different ways to initialize an array in C++ including both the standard array and array container in STL.
Software Engineering 3D Vectors in C++ Article for 3D Vector in C++ which contains guide for creating 3D vector, adding elements, deleting elements traversing through vector and different ways for doing these.
Software Engineering Bit header file in C++20 Bit header was included in the C++20. This header provides components such as types and functions to access, manipulate and process individual bits and bit sequences.
Software Engineering Deleted function in C++ C++11 introduced a new use of the delete keyword to make a function non-callable.
Software Engineering Default functions in C++11 C++11 introduced a new use of the default keyword as a way to explicitly tell the compiler that a special member function will use the default implementation.
Software Engineering Basics of Unordered multiset in C++ An unordered multiset is an unordered set (a set in which a key can be stored in any random order) that allows different elements to have equivalent values (allows duplicate items).
Software Engineering C++ Likely and Unlikely attributes C++ likely and unlikely attributes came into existence with the release of C++ 20. In our C++ code if we know which lines of code would most probably be executed during our code execution then we can use likely and unlikely attributes.
Software Engineering Vector::pop_back() in C++ We have learnt about pop_back() method of Vector class included in std::vector library in C++. Vectors can be considered as dynamic arrays on the basis of its usage.
Software Engineering Create and Delete Folder in C++ This article covers the process of creating and delete a directory (folder) in C++. We have provided the complete C++ implementation.
C++ std::variant in C++ std::variant was added in C++17 to support the sum type. It adds more functionality to union and hence is a safer version of it.
C++ Spaceship operator <=> in C++ The three-way comparison operator , colloquially called the spaceship operator was added in C++20. It is an alternative to basic_string compare() function in C++.
Software Engineering Immediate Functions in C++ Immediate functions or the functions which have consteval keyword before their return type has been introduced with the release of C++ 20 , consteval functions are the functions that must be evaluated at compile time to produce a constant.
Software Engineering Explicit in C++ Explicit is a keyword in C++ which was introduced with C++ 11 this is used to cast a data type and also to change the by default implicit conversion in C++.
Software Engineering Digit Separators in C++ In this article, we have discussed about Digit Separators in C++. This topic is introduced in C++14. Using digit separators in the code make it easy for human readers to parse large numeric values.
Software Engineering Implementing rmdir using C/ C++ We have developed the rmdir command of UNIX systems in C and C++ by using the remove and nftw system functions to delete a directory.
Software Engineering Implementing mkdir in C/ C++ We have developed the mkdir command of UNIX systems in C and C++ by using the mkdir function to create a directory.
Software Engineering Implementing cd command in C/ C++ We have developed the cd command of UNIX systems in C and C++ by using the chdir function.
Software Engineering nullptr (null pointer) in C++ A null pointer (nullptr) is a pointer that does not point to any memory location. nullptr is a keyword that was introduced in C++11 standard to denote a null pointer. This standard also introduced a nullptr_t type.
Software Engineering Different ways to initialize 2D array in C++ We have explored different types to initialize 2D array in C++ like Sized array, Skipping values and Unsized array initialization.
Software Engineering Implementing pwd command in C/C++ We will use the header file dirent.h for directory structures and objects and implement our pwd command in C/C++. This will involve the getcwd() function call.