-
C++ Type Casting
What is Type Casting? In software development, a “type cast” is an operation that converts an object to a different type. An example of this would be converting a variable of type int to double. Most object-oriented languages offer some form of type conversion or type casting, especially C++. This article will go over the…
-
C++ Strings
The string is a fundamental data type in many programming languages. In C++, a string is a data type that can store a sequence of characters. Despite being so ubiquitous and fundamental, strings are not primitive data types. To use a string in C++, you must include the <string> header from the standard template library…