All Resources

Showing the most recent resources. The latest one is from 2021-07-26.
  • Learn what is recursion in c++ and understand common recursion examples with their c++ codes
    Article  Added by codypeltz41 // favtutor.com // 1 day ago
  • I presented in my last post "Parallel Algorithms of the STL with the GCC Compiler" the necessary theory about the C++17 algorithm. Today, I make a performance test using the Microsoft compiler and the GCC compiler to answer the simple question: Does the execution policy pay off?
    Article  Added by gansm // www.modernescpp.com // 1 day ago
  • GCC supports my favorite C++17 feature: the parallel algorithms of the Standard Template Library (STL). I recognized this a few days ago, and I'm happy to write a post about it and share my enthusiasm.
    Article  Added by gansm // www.modernescpp.com // 8 days ago
  • As you may know from my previous post Template Specialization, function template can only be full but not partial specialized. To make my long story short: Don't specialize function templates. Just use function overloading.
    Article  Added by gansm // www.modernescpp.com // 15 days ago
  • Learn how to check if a linked list is palindrome or not. Also, understand palindrome linked list c++ code and its time complexity.
    Article  Added by codypeltz41 // favtutor.com // 19 days ago
  • After I presented in my last post Template Specialization the basics about template specialization, I dig today deeper. I want to present the partial and full specialization of a class template as a compile-time if.
    Article  Added by gansm // www.modernescpp.com // 22 days ago
  • Templates define the behavior of families of classes or functions. Often it is required that special types or non-types may be treated special. To support this use case, you can specialize templates.
    Article  Added by gansm // www.modernescpp.com // 29 days ago
  • Learn how to reverse a linked list in c++ using iterative and recursive approaches. Also, learn what is linked-list and how it works, its implementation in C++ and time & space complexity
    Article  Added by codypeltz41 // favtutor.com // about 1 month ago
  • In my last post Template Arguments, I wrote about function template type deduction (C++98) and auto type deduction (C++11). Today I wear more modern hats. I start with automatic type deduction of non-type template parameters and class templates (C++17) and finish with automatic type deduction of concepts (C++20).
    Article  Added by gansm // www.modernescpp.com // about 1 month ago
  • It is quite interesting how the compiler deduces the types for the template arguments. To make it short, you get most of the time the type you expect. The rules do not only apply to function templates (C++98) but also to auto (C++11), to class templates (C++17), and concepts (C++20).
    Article  Added by gansm // www.modernescpp.com // about 1 month ago
  • Today, I write about two topics: alias templates and template parameters. Alias templates are a way to give a name to a family of types. Template parameters can be types, non-types, and templates themselves.
    Article  Added by gansm // www.modernescpp.com // about 2 months ago
  • In my last post "Class Templates", I presented the basics about those. Today, I may surprise you with the inheritance of class templates and the instantiation of member functions of class templates.
    Article  Added by gansm // www.modernescpp.com // about 2 months ago
  • Want to practice your coding by making c++ beginner projects? Here is a list of top c++ projects for beginners in 2021 that are fun & easy.
    Article  Added by codypeltz41 // favtutor.com // about 2 months ago
  • A function template represents a family of functions. Accordingly, a class template represents a family of classes. Today, I want to introduce class templates.
    Article  Added by gansm // www.modernescpp.com // 2 months ago
  • In the last post "Function Templates", I wrote about the overloading of function templates and automatically deducing the return type of a function template. Today, I dive deeper and specify explicitly the template arguments of a function template and bring concepts into the play.
    Article  Added by gansm // www.modernescpp.com // 2 months ago
  • Get insights into top questions asked in a C interview.
    Article  Added by rohitiyer // www.interviewbit.com // 3 months ago
  • Article  Added by VisheshPatel // www.vishalchovatiya.com // 3 months 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 // 3 months 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 // 3 months ago
  • Article  Added by tonyxrandall // doordash.engineering // 3 months 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 // 3 months 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 // 3 months 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 // 3 months ago
  • Article  Added by VisheshPatel // www.vishalchovatiya.com // 3 months 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 // 3 months 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 // 4 months 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 // 4 months 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 // 4 months 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 // 4 months 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 // 4 months ago