5 Free Courses to Learn C++ Programming in Depth

C++ is one of the most popular and powerful object-oriented programming languages and if you want to do low-level stuff then it’s the best language to start with.
Most complex software like operating systems, database management dystems, and powerful trading systems are written in C++.

Link: https://dzone.com/articles/5-free-courses-to-learn-c-programming-in-depth?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

Using the Same Source Code for Online and Desktop Apps

ONLYOFFICE is an open source office suite for working with documents, spreadsheets, and presentations written in JavaScript. It has both online and desktop versions that basically share the same source code. In this article, we will tell you how it is done and how abandoning native apps might actually help a project.

Link: https://dzone.com/articles/using-the-same-source-code-for-online-and-desktop?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

To C, or Not To C: How Can We Best Teach the Coders of the Future?

Photo credit by Unsplash/Good Free Photos HackerRank is known for its invaluable research into the lives of those who make the tech world go round, and this year’s Women in Tech Report is no exception. Filled with numerous important insights into the skills and motivations of the youngest female developers entering the workforce, it is an absolute must-read for any hiring manager looking to bring on the best and brightest of this uniquely savvy generation.

Link: https://dzone.com/articles/how-can-we-best-teach-future-coders?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

Lambdas: From C++11 to C++20, Part 1

Lambda expressions were one of the most powerful additions made in C++11, and they continue to evolve with each new C++ language standard. In this article, we’ll go through their history and see the evolution of this crucial part of modern C++.
This article was originally posted at the author’s blog: bfilipek.com

Link: https://dzone.com/articles/lambdas-from-c11-to-c20-part-1?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

Two Lines of Code and Three C++17 Features: The Overload Pattern

While I was doing research for my book (C++17 in Detail) and blog posts about C++17, several times I stumbled upon this pattern for visitation of std::variant:
template struct overload : Ts… { using Ts::operator()…; };
template<class… Ts> overload(Ts…) -> overload<Ts…>;

std::variant<int, float> intFloat { 0.0f };
std::visit(overload(
[](const int& i) { … },
[](const float& f) { … },
),
intFloat;
);
With the above pattern, you can provide separate lambdas “in-place" for visitation.

Link: https://dzone.com/articles/two-lines-of-code-and-three-c17-features-the-overl?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

std:filesystem::file_size Advantages and Differences

The Series
This article is part of my series about C++17 Library Utilities. Here’s the list of the topics in the series:

Refactoring with std::optional
Using std::optional
Error handling and std::optional
Aboutstd::variant
Aboutstd::any
std::string_view Performance and followup
C++17 string searchers and followup
Conversion utilities – about from_chars.
Working with std::filesystem – file_size

Recap
STL before C++17 didn’t contain any direct facilities to work with a filesystem. We could only use third party libraries (like Boost), or system APIs.

Link: https://dzone.com/articles/stdfilesystemfile-size-advantages-and-differences?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

Everything You Need to Know About std::any From C++17, Part 1

With std::optional you can represent some type or nothing. With std::variant you can wrap several variants into one entity. And C++17 gives us one more wrapper type, std::any, that can hold anything in a type-safe way.
The Basics
So far in Standard C++, you have not had many options when it comes to holding variable types in a variable. Of course, you could’ve used void*, yet this wasn’t super safe.

Link: https://dzone.com/articles/everything-you-need-to-know-about-stdany-from-c17?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

xmake v2.2.2: Manage Package Dependencies for C/C++

Introduction
Since my English is not very good, this article uses Google translation. If you can’t understand, please understand.
After more than four months, xmake finally updated the new version v2.2.2 and launched the heavyweight feature: Natively Supported Remote Dependency Package Management.

Link: https://dzone.com/articles/xmake-v222-we-can-also-manage-package-dependencies-1?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

Let’s Talk About String Operations in C++17

In September, our local C++ User Group started a “new year" of meetings after a little break in August. I had a pleasure to give a talk about string operations in C++17.
The Talk
For my book, I wrote a lot of content about string_view, std::searcher and std::to_chars, std::from_chars and I wanted to give a short summary of those features.

Link: https://dzone.com/articles/lets-talk-about-string-operations-in-c17?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev