C++C++11C++14C++17Introduction to C++Learn C++

How Do I Add Characters to Strings in C++ The Right Way?

Modern C++ uses Strings, Wide Strings, and Unicode Strings to support worldwide languages. Strings (std::string) use char as the character type, which means they are ASCII chars and they are an instantiation of the basic_string class template. In C++, there are several typedefs for common character types and one of them is std: string types that are defined in…
Read more
C++C++11C++14C++17Language FeatureLearn C++

Why You Should Learn About Hilarious Hedgehogs In C++

I know what you’re thinking: hedgehogs. Those cute, spiky little mammals who snuffle around in bushes and famously curl into a ball when life looks a little too scary. But, bear with me, those hedgehogs can serve a serious purpose in C++. In this post, you’ll learn how to draw vectors in arrows and visualize them with hedgehogs on the bitmap. By learning how to draw your engineering…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

Learn to Use Strings (string) in C++ - All You Need To Know

In computer programming alphanumeric characters (texts) are displayed with string types. Strings are objects with an array of bytes that represent sequences of characters. As an introduction to C++, in addition to int, float, double there is another data type we should know. In C++ there are several typedefs for common character types are provided: String types are defined in header…
Read more
C++C++11Learn C++Videos

Learn C++ With Back to Basics: Concurrency by Arthur O'Dwyer (CPPCon 2020) Video

One of the flagship features of C++11 was the implementation of std::thread, along with a full suite of primitive synchronizations and useful patterns such as thread-safe static initialization. In this video, we will inspire the threading model of C++11 and demonstrate how to use std::thread effectively. Audience will leave this session with a clear understanding of “multithreading…
Read more