All Resources

Showing the most recent resources. The latest one is from 2021-05-12.
  • Get insights into top questions asked in a C interview.
    Article  Added by rohitiyer // www.interviewbit.com // 2 days ago
  • Article  Added by VisheshPatel // www.vishalchovatiya.com // 5 days ago
  • A function template is a family of functions. In this post, I want to dive deeper into function templates.
    Article  Added by gansm // www.modernescpp.com // 5 days ago
  • The idea of this post is quite simple. I want to visualize templates and, in particular, the process of template instantiation. Thanks to C++ Insights, this visualization is pretty easy.
    Article  Added by gansm // www.modernescpp.com // 12 days ago
  • Article  Added by tonyxrandall // doordash.engineering // 15 days ago
  • C++ is a powerful and all-purpose programming tool developed by Bjarne Stroustrup at Bell Labs. This language is an extension of C and is by far one of the fastest object-oriented programming languages. C++ is super popular because of its high speed and compatibility.
    Article  Added by rohitiyer // www.interviewbit.com // 15 days ago
  • Built to power a new generation of game development tools, Ultra App Kit provides an easy-to-use C++ programming SDK for creating desktop GUI applications. Unlike other alternatives like ImGui, the Ultra App Kit GUI renders in retained mode rather than immediate mode, and is specifically designed for desktop GUI applications. This makes applications snappy and responsive when resizing or refreshing a window.
    Article  Added by Leadwerks // www.ultraengine.com // 16 days ago
  • The future of C++ speaks templates, and so does my blog Modernes C++. Based on the poll of my last post "Quo Vadis - Modernes C++", my next presumably 50 - 100 posts explain the details to templates. In this post, I want to give you an idea of the upcoming posts.
    Article  Added by gansm // www.modernescpp.com // 19 days ago
  • Article  Added by VisheshPatel // www.vishalchovatiya.com // 21 days ago
  • DONE: I have written almost 100 posts about C++20. Now, I want to ask you the question: What should be my next big topic? Make your choice in this poll.

    Now, let me take about the future of Modernes C++. I have three ideas in my mind: C++23, extending and embedding Python with C/C++, and templates. The poll is open for one week including the 24.04. This means, in my next post I present your favorite and my plan to write about it.
    Article  Added by gansm // www.modernescpp.com // 26 days ago
  • In my last post "Starting Jobs with Coroutines", I applied co_await to start a job. In this post, I improve the workflow and automatically resume a job if necessary. In my final step, I resume the job on a separate thread.
    Article  Added by gansm // www.modernescpp.com // about 1 month ago
  • The C++ header provides generic file operation support and defines a number of functions with narrow and multibyte character input/output capabilities, and the header provides functions with wide character input/output capabilities.
    Tutorial  Added by AlphaCodingSkills // www.alphacodingskills.com // about 1 month ago
  • The C++ header supports localization specific settings, such as culture-specific date formats or country-specific currency symbols. .
    Tutorial  Added by AlphaCodingSkills // www.alphacodingskills.com // about 1 month ago
  • C++20 has three new keywords to make a coroutine out of a function: co_return, co_yield, and co_await. co_await requires an Awaitable as arguments and starts the Awaiter workflow. Let me show in this post, what that means.
    Article  Added by gansm // www.modernescpp.com // about 1 month ago
  • Searching an element in a doubly linked list requires creating a temp node pointing to the head of the list. Along with this, two more variables are required to track search and index of the current node.
    Tutorial  Added by AlphaCodingSkills // www.alphacodingskills.com // about 1 month ago
  • The C++ has library which implements the complex class to contain complex numbers in Cartesian form and several functions and overloads to operate with them.
    Tutorial  Added by AlphaCodingSkills // www.alphacodingskills.com // about 2 months ago
  • In my last post in this mini-series to coroutines from the practical perspective, I presented the workflow of "An Infinite Data Stream with Coroutines in C++20". In this post, I use the generic potential of the data stream.
    Article  Added by gansm // www.modernescpp.com // about 2 months ago
  • In this post, I analyze the new keyword co_yield. Thanks to co_yield, you can create an infinite data stream in C++20.
    Article  Added by gansm // www.modernescpp.com // about 2 months ago
  • A map is an associative container that stores data sequence in key-value pair which is sorted by key. In a map, no two mapped values can have the same key. The data type of key and mapped value may differ.
    Tutorial  Added by AlphaCodingSkills // www.alphacodingskills.com // about 2 months ago
  • This post concludes my posts about co_return in C++20. I started with an eager future, continued with a lazy future. Today, I execute the future in a separate thread using coroutines as an implementation detail.
    Article  Added by gansm // www.modernescpp.com // 2 months ago
  • Should we use almost always auto parameters?
    Article  Added by LesleyLai // lesleylai.info // 2 months ago
  • Based on the coroutine-based implementation of a simple future in my last post "Implementing Simple Futures with Coroutines", I want to go today one big step further. I analyze the workflow of the simple future and make it lazy.
    Article  Added by gansm // www.modernescpp.com // 2 months ago
  • A valarray object is designed to hold an array of values. It supports element-wise mathematical operations and various forms of generalized subscript operators, slicing, and indirect access. Most of the mathematical operations can be directly applied to valarray objects, including arithmetical and comparison operators, affecting all its elements.
    Tutorial  Added by AlphaCodingSkills // www.alphacodingskills.com // 2 months ago
  • Instead of return, a coroutine uses co_return returning its result. In this post, I want to implement a simple coroutine using co_return.
    Article  Added by gansm // www.modernescpp.com // 3 months ago
  • The C++ header file describes the characteristics of floating types. It contains platform-dependent and implementation-specific floating point values.
    Tutorial  Added by AlphaCodingSkills // www.alphacodingskills.com // 3 months ago
  • What happens when you write without synchronization to std::cout? You get a mess. With C++20, this should not be anymore.
    Update  Added by gansm // www.modernescpp.com // 3 months ago
  • What happens when you write without synchronization to std::cout? You get a mess. With C++20, this should not be anymore.
    Article  Added by gansm // www.modernescpp.com // 3 months ago
  • std::jthread stands for joining thread. In addition to std::thread (C++11), std::jthread automatically joins in its destructor and can cooperatively be interrupted. Read in this post to know why std::jthread should be your first choice.
    Article  Added by gansm // www.modernescpp.com // 3 months ago
  • A typical question in my C++ seminars is: Can A thread be killed?. Before C++20, my answer is no. With C++20, you can ask a thread politely for its interruption.
    Article  Added by gansm // www.modernescpp.com // 3 months ago
  • In my last post, I introduced latches in C++20. A latch enables it threads to wait until a counter becomes zero. Additionally to a latch, its big sibling barrier can be used more than once. Today, I write about barriers and present atomic smart pointers.
    Article  Added by gansm // www.modernescpp.com // 3 months ago