Click here to Skip to main content
15,885,216 members
Everything / Programming Languages / C++11

C++11

C++11

Great Reads

by Shao Voon Wong
Floating Point Format For C++ and C# Programmers
by Michael Chourdakis
An easy locking class for shared/exclusive mutex functions with upgrade/downgrade
by MehreenTahir
This article will show you an alternative way of using C++; How to write functional code in C++. You’ll see how to write more concise, safer, readable, reasonable code.
by Shmuel Zang
This article shows how we can implement a thread-safe events (similar to .NET events) mechanism using the standard C++ library.

Latest Articles

by PJ Arends
An MFC CWnd derived grid of user definable tiles
by Shao Voon Wong
Bring your animations to H264/HEVC video using C++ and C# with h/w acceleration
by Piotr Grygorczuk
Enable C++11 multithreading features in GCC for FreeRTOS
by Shao Voon Wong
H264/HEVC Video Encoder for recording OpenGL rendering

All Articles

Sort by Title

C++11 

4 Jan 2018 by john morrison leon
Class method emulation for plain arrays plus unified handling of plain arrays, std::arrays and std::vectors
25 Jul 2014 by Nish Nishant
The article goes through sevean language and IDE features in the VS 14 CTP 2 that are specific to C++ development
31 Jul 2014 by Michael Gazonda
A Fundamental Lock-Free Building Block - The Lock-Free Stack
15 Mar 2016 by Satbir S
A worker thread gives you parallel processing power
12 Jun 2019 by John Bandela
The problem brought to light by the article is that C++11 auto interacts badly with expression templates and proxies.
27 Jul 2015 by Manuele Finocchiaro
Reflection for C++ made easy
6 May 2020 by Arthur V. Ratz
In this article, I’d like to introduce the modern code in C++11, implementing the parallel three-way quicksort, which is asymptotically faster and more efficient than the famous heapsort and mergesort algorithms.
16 Jan 2013 by Ajay Vijayvargiya
Covering the nitty-gritties of C++ templates.
16 Jun 2019 by Michael Chourdakis
Create dynamic multidimensional arrays in place
19 Aug 2019 by VISWESWARAN1998
An opensource antivirus engine which uses Yara, Locality Sensitive Hashing to detect malware
31 Aug 2012 by Mikhail Semenov
keywords: user-defined literals , templates, constant expressions, recursive functions
1 Nov 2013 by Gabi Barcan
Call methods of an existing class in MFC asynchronously, while still preserving the thread affinity required by MFC and COM.
27 Dec 2017 by Petrov Vladimir
Simple solution for small avi demo performance from Image files of any kind
5 Apr 2017 by Shao Voon Wong
Compute Concurrent Permutations and Combinations on CPU
30 Jul 2019 by Shao Voon Wong
Run your C++ Graphics on the Desktop and Web
25 Apr 2023 by Shao Voon Wong
Bring your animations to H264/HEVC video using C++ and C# with h/w acceleration
28 Jun 2019 by Shao Voon Wong
How to bring your C++ code to the web
21 Jul 2019 by Shao Voon Wong
Bring your existing WPF and Winform application to the Microsoft Store
21 Jul 2013 by Nish Nishant
This is a quick overview of ISO C++ 11 compiler features that are supported in VC++ 2013 Preview
8 Dec 2018 by CalicoSkies
Mixing audio from multiple WAV files to a single WAV file. Includes a C++ class for reading and writing WAV audio files, derived from an AudioFile class for future support of other audio file formats.
14 Mar 2016 by Larz White
C++ continuous integration setup using Travis CI, AppVeyor, CMake, and the Boost Test Library
26 Jun 2016 by bishopnator29a
Saving, Loading and data migration in compact library
23 Oct 2019 by David Lafreniere
A framework combining state machines with asynchronous multicast delegates
13 Sep 2020 by David Lafreniere
Create a worker thread with an event loop, message queue and a timer using the C++11 thread support library
30 Dec 2014 by Babu_Abdulsalam
Various features supporting Concurrency in C++11
16 Jan 2012 by And Baxter
In the case that you need to store and pass lambdas around but can't use std::function, here's an alternative.
27 May 2013 by Marius Bancila
This article is a walk-through the C++11 support for threads and synchronization mechanisms (mutexes and condition variables).
21 Sep 2019 by Lakamraju Raghuram
A glance at the C++11 Standard, covering features supported in VS2010
17 Jun 2018 by Lakamraju Raghuram
A glance at the C++11 Standard, covering features supported in VS2010. This is the next part of this series.
1 May 2016 by itsdkg
A demonstration of how to use C++11/C++14 lambdas / Closures
5 Jun 2018 by Shao Voon Wong
Implementing string_view conversion to integral types using Boost Spirit Qi v2
1 Oct 2016 by Shao Voon Wong
Using C++11 thread_local to Avoid Allocation, Sharing and Minimize Locking
10 Jul 2015 by darrellp
A framework for easily solving programming challenges from competitive coding sites
28 Dec 2014 by Michael Gazonda
Have you ever been working with templates or constexpr and wanted to run a loop? Or maybe you have a loop you'd like to unroll and see if your program will run faster? Welcome to static_for.
11 Jul 2012 by Mikhail Semenov
keywords: constexpr, constant, constant expression, user-defined literals, GCC 4.7.0
23 Apr 2016 by Florian Rappl
In this article we look behind the development of a Top 500 listed highly-efficient supercomputer: the QPACE 2.
23 Mar 2015 by Mikhail Semenov
This articles proposes an implementation of a collection of constructs for writing loops in C++11, as an alternative to the standard C-style for-loop.
13 Aug 2018 by Shmuel Zang
This article shows how we can implement a thread-safe events (similar to .NET events) mechanism using the standard C++ library.
3 Nov 2012 by Marius Bancila
An introduction to cpplinq, a open-source template library that provides LINQ-like operators for querying collections (arrays and STL containers) in C++11.
12 Apr 2016 by Shao Voon Wong
Debug Print using C++11 Variadic Template
29 Jun 2017 by EgorYusov
This article describes an efficient thread-safe reference counting system.
23 May 2018 by John M. Dlugosz
It is easier than ever to exploit the range-for loop (and make use of std algorithms) for things other than collections.
28 Jun 2016 by Mohamed Kalmoua
This article describes how to create a UWP application that uses a Window Runtime Component.
30 Mar 2023 by Piotr Grygorczuk
Enable C++11 multithreading features in GCC for FreeRTOS
25 May 2016 by Shvetsov Evgeniy
Numbers (positive AND negative integral/fractional) to english/russian words
19 Mar 2013 by Igor Stanic
Extending boost::filesystem for Windows and Linux.
18 Jan 2015 by Mikhail Semenov
This article covers algorithms and implementations for maps with integers, contains benchmark results
3 Jan 2015 by Mikhail Semenov
This article covers algorithms and implementations for sparse sets of integers, including the benchmark results.
14 Dec 2020 by honey the codewitch
Some C++ magic to help cut down on heap abuse for simple scenarios
20 Aug 2014 by Evgeny Zavalkovsky
Multi-reader lock that provides real readers' lock-free and wait-free concurency on multi core systems.
5 Jan 2018 by Michael Chourdakis
The most appealing (to me!) new C++ features
23 Nov 2018 by MehreenTahir
This article will show you an alternative way of using C++; How to write functional code in C++. You’ll see how to write more concise, safer, readable, reasonable code.
3 Jan 2020 by goranorsander
A class template for specializing fundamental types
19 Mar 2014 by KjellKod.cc
Don't let slow disk access bog your logger down. By using the g2log asynchronous logger you will remove the wait bottlenecks while it has the reliability of a *traditional* logging library.
1 Mar 2016 by Evgeny Zavalkovsky
`Memoization' of a computation result makes computation faster by trading space for time. Here you will see extremely simple and "easy to use" Memoization Infrastructure.
23 Sep 2015 by Shvetsov Evgeniy
Safe and versatile iterator for user types
26 Oct 2022 by Shao Voon Wong
H264/HEVC Video Encoder for recording OpenGL rendering
23 Oct 2015 by Michael Chourdakis
A simple template for manipulating the registry
21 Feb 2016 by Shvetsov Evgeniy
String class with the auto. managed memory pool and performance tweaks + support modules
4 Nov 2018 by Michael Chourdakis
A ready to be used hotpatching library with five methods!
30 Jan 2018 by Bartlomiej Filipek
It appears that in some cases memory allocated for the object controlled by smart_ptr might not be released until all weak pointers are also ‘dead’... let's see why
7 May 2020 by Arthur V. Ratz
In this article I will thoroughly discuss about the several aspects of using the revolutionary new Intel® oneAPI HPC Toolkit to deliver a modern code that implements a parallel “stable” sort
19 May 2016 by Noah L
Use-after-free bugs, new smart pointers and the new state of safe C++ programming
24 May 2013 by Mikhail Semenov
This is an alternative for "Member Function Pointers and the Fastest Possible C++ Delegates"
3 Jun 2014 by Mikhail Semenov
Defining ranges with steps that can be used in for-loops
4 Sep 2011 by Kirill Osipov
A step-by-step illustration of a minimalistic pattern for implementing a series of COM interfaces with little code
9 Dec 2016 by Arthur V. Ratz
In this article, we'll demonstrate an approach the allows to increase the performance (up to 600%) of the code that implements the conventional distribution counting algorithm (DCA) using NVIDIA CUDA 8.0 Runtime API
12 Jan 2018 by Michael Haephrati
How to easily integrate and interface with PayPal Express Checkout API from a Windows c++ application
25 Mar 2014 by Anna Koneva
An article about interoperation issues in mixed C/C++/Objective-C development
12 May 2014 by Anna Koneva
An article about interoperation issues in mixed C/C++/Objective-C development
28 Mar 2013 by John Bandela
Describes a build of leveldb for windows that works in both g++ and visual c++ using the same dll
6 Dec 2015 by Michael Chourdakis
Load an EXE file as a DLL in another EXE and execute the functions
31 Dec 2014 by KjellKod.cc
How to make a wait-free, lock-free CircularFifo using C++11.
2 Jun 2013 by Mikhail Semenov
The article shows the techniques for defining pass-through methods
27 Jun 2022 by Shao Voon Wong
Example of making HTTP REST Request in C++
23 Mar 2021 by honey the codewitch
Make your code more efficient by hacking your compiler to improve its optimization capabilities
5 May 2015 by Mikhail Semenov
Essential features in Visual C++ 11 and GCC 4.7.0: move, rvalue references, prvalues, xvalues, perfect forwarding.
10 Oct 2019 by 10xlearner
This is a post about my first open source contribution.
29 Feb 2016 by Bartlomiej Filipek
In the article I cover SFINAE, a quite complex paradigm from C++ template programming area. What is this thing? Where can you use it? Let's also look how C++14/17 can help in writing such expressions.
21 Aug 2012 by KjellKod.cc
Most programming resources are wrong when comparing linked-list to vector. Here you can read and understand how they are wrong and why linked-list is (mostly) to be avoided.
10 Aug 2020 by Shao Voon Wong
Optimizations that you have to make to wring the performance out of WebAssembly
17 May 2016 by stevemk14ebr
A modern, universal, c++ hooking library.
24 Jul 2018 by stevemk14ebr
PolyHook v2 - the C++17 x86/x64 library supporting multiple methods of hooking
29 Jan 2016 by Md. Samiul Hoque
intros_ptree: A library that lets you populate your structure or class from XML file (or json or ini file) automatically, and vice versa
2 Feb 2016 by Md. Samiul Hoque
intros_ptree: A library that lets you populate your structure or class from XML file (or json or ini file) automatically, and vice versa
20 Jun 2013 by DigitalInBlue
This article discusses the implementation and use of a fast alternative to dynamic_cast, Priori.
16 Dec 2018 by MehreenTahir
This article will help you get started with concurrency and will also introduce you to the features C++ has to support concurrent programming.
3 Mar 2019 by MehreenTahir
This article is a continuation of Programming Concurrency in C++ Part 1. We will discuss synchronization, future and promises along with async and with that, will sum up the introduction of concurrency in C++.
20 Mar 2016 by Noah L
An introduction to new smart pointers meant to be safe replacements for raw pointers and (raw) references.
24 Apr 2016 by Michael Chourdakis
A class to implement a reverse semaphore
13 Dec 2018 by Michael Chourdakis
A mutex with shared/exclusive access with upgrade/downgrade capability
2 Sep 2011 by Alexander Bessonov
A simple high-level IPC library with ability to use native C++ interfaces.
28 Mar 2018 by Paulo Zemek
A beginner article about how to write a simple list class in C# and in C++
30 Dec 2018 by Arthur V. Ratz
SVD in C++11 explained with an example
18 Sep 2015 by john morrison leon
observer_ptr, a smart observer guaranteed to always be either valid or test as null. Transparently harnessing unique_ptr's custom deleter feature to detect object destruction.
27 Aug 2014 by Bartlomiej Filipek
Several issues related to smart pointers that are worth knowing.
26 Jul 2012 by headmyshoulder, Denis Demidov
This article shows how ordinary differential equations can be solved with OpenCL. In detail it shows how odeint - a C++ library for ordinary differential equations - can be adapted to work with VexCL - a library for OpenCL. The resulting performance is studied on two examples.
12 Nov 2020 by Miroslav Fidler
...but I will tell you anyway.
11 Nov 2016 by HoshiKata
An example state machine framework that uses Doxygen to auto-draw the actual code's behavior.