Click here to Skip to main content
15,612,351 members
Everything / Programming Languages / C++

C++

C++

Great Reads

by Dr. WPF
.NET 3.5 SP1 is here! It's time to break out your DirectX skills. This article provides the information necessary to get started using a new DirectX interop feature in WPF called D3DImage.
by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by Hans Dietrich
XColorSpectrumCtrl displays a color spectrum that allows user selection, and provides APIs for color based on RGB and HSL color models.
by Hans Dietrich
XQueue implements a shared-memory first-in first-out (FIFO) queue, based on memory-mapped files, that works on all versions of Windows.

Latest Articles

by V_Cento
A simple way to extend an HTML element.
by Ștefan-Mihai MOGA
Task Manager shows you the programs, processes, and services that are currently running on your computer. You can use Task Manager to monitor your computer’s performance or to close a program that is not responding.
by Ștefan-Mihai MOGA
A look at the URLDownloadToFile function and architecture of IntelliLink
by Ștefan-Mihai MOGA
You can use IntelliPort to transfer large files from a computer onto your portable computer using a serial port rather than going through the process of setting up your portable computer on a network.

All Articles

Sort by Updated

C++ 

N 27 Mar 2023 by V_Cento
A simple way to extend an HTML element.
U 26 Mar 2023 by Ștefan-Mihai MOGA
Task Manager shows you the programs, processes, and services that are currently running on your computer. You can use Task Manager to monitor your computer’s performance or to close a program that is not responding.
U 24 Mar 2023 by Ștefan-Mihai MOGA
You can use IntelliPort to transfer large files from a computer onto your portable computer using a serial port rather than going through the process of setting up your portable computer on a network.
U 23 Mar 2023 by Patrice T
How to use bitwise operations on Bitfields as primitive SIMD
U 20 Mar 2023 by honey the codewitch
Combine some great technologies for rich, responsive IoT user interfaces on the ESP32
U 19 Mar 2023 by Michael Chourdakis
Portable nginx+php+mysql inside Windows
N 16 Mar 2023 by honey the codewitch
Debug your circuits with this handy device
U 14 Mar 2023 by sebjameswml
Walks you through the steps needed to draw high quality 2D graphs in your C++ programs using the header-only library morphologica
N 14 Mar 2023 by JorgeLuisOrejel
How to preserve state of local variables in C#
13 Mar 2023 by honey the codewitch
Easily determine active devices on an I2C bus with this simple device
10 Mar 2023 by Shao Voon Wong
Introduction to DirectWrite Text Display and Font Enumeration
10 Mar 2023 by Shao Voon Wong
No frills C++ MP3/WMA DirectShow player class
10 Mar 2023 by Shao Voon Wong
Read/write CSV in few lines of code!
8 Mar 2023 by sebjameswml
morph::vvec allows you to do vector math without any external libraries
2 Mar 2023 by Michael Chourdakis
Quicky generate text and images
1 Mar 2023 by Stephane Capo
A multi purpose, cross-platform, free and Open Source C++ framework. Data Driven Application
1 Mar 2023 by Stephane Capo
A multi-purpose, cross-platform, free and Open Source C++ framework. This article will focus on CoreModifiable attributes.
1 Mar 2023 by Stephane Capo
A multi purpose, cross-platform, free and Open Source C++ framework. This article will focus on CoreItem.
1 Mar 2023 by Stephane Capo
A multi purpose, cross-platform, free and Open Source C++ framework. This article will focus on Signal/Slot and Notification mechanisms.
1 Mar 2023 by Stephane Capo
A multi purpose, cross-platform, free and Open Source C++ framework. Lua Binding feature
1 Mar 2023 by Stephane Capo
Kigs framework is a multi purpose, cross-platform, free and open source C++ framework. This article will focus on the main base class of the framework: the CoreModifiable class.
1 Mar 2023 by Stephane Capo
A multi purpose, cross-platform, free and Open Source C++ framework. This article will focus on CoreModifiable methods.
1 Mar 2023 by Stephane Capo
A multi purpose, cross-platform, free and Open Source C++ framework
27 Feb 2023 by Sergiu Oprea
Differences and similarities between SYCL and OpenCL
26 Feb 2023 by honey the codewitch
How to make very responsive, flicker free interactive screens without using a lot of memory
24 Feb 2023 by Philippe Cayouette, Sebastien Gibeau
Solution using smart pointers' custom deleters
14 Feb 2023 by Atique Rahman
Tips and tricks on String manipulations in Unicode (Windows Programming context)
12 Feb 2023 by Udi Cohen
How I wrote a utility to sort files in FAT-32 storage devices and fixing products that are affected by improper sorting order, such as various music players.
8 Feb 2023 by flyhigh
Introducing a new framework for building client program using XML and JS
7 Feb 2023 by Ben McNamara
I++ contains AVL databases
6 Feb 2023 by Octavio Sanchez Huerta
Write a web service library for HP-UX server
6 Feb 2023 by Mike Hankey
This is the first in a series of articles based on the ARM CPU architecture.
6 Feb 2023 by Vadim Stadnik
Simple and useful alternative to traditional memory pool
2 Feb 2023 by Bruno van Dooren
Ways to enforce an interface contract on static methods, similar to what you would expect from static virtual methods if they'd exist in C++
22 Jan 2023 by Bruno van Dooren
How to use C++ templates for implementing dynamic memory objects with custom allocator
16 Jan 2023 by The Ænema
In this article, you will learn an easy way to protect your critical code logic in electron-based applications using a C++ native library.
10 Jan 2023 by honey the codewitch
A far more functional fan controller than before, and some powerful programming techniques
10 Jan 2023 by Michael Chourdakis
Use SHA-3 in Win32 projects
6 Jan 2023 by honey the codewitch
Control 3 or 4 pin PWM fans using this library
5 Jan 2023 by Michael Yuan @WasmEdge
How to use high performance Wasm runtime WasmEdge as a sidecar application runtime for Dapr
2 Jan 2023 by Mircea Neacsu
Parser for command line options
22 Dec 2022 by Bruno van Dooren
How to implement named pipe server for communicating with client apps
13 Dec 2022 by honey the codewitch
Control the sound from your Sonos system in each room of your house
12 Dec 2022 by Intel
This is the first in a series of articles where I will talk about parallel programming and various ways to enable it on modern accelerators.
11 Dec 2022 by Evgeny Pereguda
This article presents my project for capturing of video and audio sources on Windows OS by Microsoft Media Foundation.
9 Dec 2022 by honey the codewitch
Building a button library seems simple until it isn't.
9 Dec 2022 by Bruno van Dooren
How to implement named pipe server for communicating with client apps
9 Dec 2022 by Intel
In this article we look at why C++ with SYCL is the best approach to accelerated computing, and why the C++ standard is a critically important foundation but insufficient for the needs of accelerated computing.
29 Nov 2022 by Michael Sydney Balloni
This article explores UDP programming, LRU cache development, and .NET packet processing.
25 Nov 2022 by Nemanja Trifunovic
Purpose, history and scenarios of use of character data types
24 Nov 2022 by Bruno van Dooren
When calling into the win32 API, there are many times when you must deal with structures that have a variable size. This article shows how to do that in a convenient way.
16 Nov 2022 by Svetoslav Chekanov
Fast implementation of 2:1 image shrink (full image or part of it)
15 Nov 2022 by Steffen Ploetz
Is LINQ the right technology for processing large amounts of data in runtime-relevant environments?
5 Nov 2022 by Steffen Ploetz
My way to have a first sample program running with "Texus' Graphical User Interface" (TGUI) - a cross-platform modern C++ immediate GUI, on which I use "Simple and Fast Multimedia Library" (SFML) as backend.
3 Nov 2022 by Bruno van Dooren
The win32 subsystem often returns pointers to objects that need to be deallocated by the caller. In this article, I show a way to do this reliably and in an exception-safe manner.
29 Oct 2022 by Michael Haephrati
The progress bar snippet explained in this article, can be called or updated from different running programs.
28 Oct 2022 by Michael Haephrati
Windows Services are powerful little beasts and encountering them is unavoidable when developing under Windows
28 Oct 2022 by Intel
Intel® oneAPI Math Kernel Library (oneMKL) now includes adding support for C++ and GPUs, taking full advantage of the SYCL cross-platform abstraction layer.
28 Oct 2022 by Ruth_Haephrati
Mutex or Semaphores are here to offer non-recursive semantics, so your program, or chunks of your code will only run once — no hairspray needed...
26 Oct 2022 by Shao Voon Wong
H264/HEVC Video Encoder for recording OpenGL rendering
26 Oct 2022 by Shao Voon Wong
Bring your animations to H264/HEVC video using C++ and C# with h/w acceleration
21 Oct 2022 by Bruno van Dooren
This article shows how to use a win32 mutex during application startup to figure out if an application instance is the first one.
18 Oct 2022 by Igor Ladnik
Compact infrastructure for custom hosting of .NET Web components in unmanaged C/C++ code with reciprocal methods calls between the parts running in Windows and Linux
17 Oct 2022 by hemanthk119
This article describes modification of Arduino NINA firmware to wirelessly transmit I2S microphone data.
16 Oct 2022 by Shao Voon Wong
C++11 Range For-Loop to Enumerate Registry, Folder and WMI
14 Oct 2022 by Ruth_Haephrati
There's no reason the buttons used as part of your programs' UI shouldn't be beautiful and practical at the same time. Introducing: ButtonFly — an all-in-one C++ class to reduce your overhead and create beautiful buttons.
13 Oct 2022 by Robert Mueller-Albrecht
In this article we explore how using oneAPI the software-development paradigm changes and targeting and maintaining multiple execution environments for a given workload becomes more easily achievable
5 Oct 2022 by Bruno van Dooren
How to improve time consuming operations through parallelization, when multiple similar operations need to be performed
5 Oct 2022 by Jerome Vonk
Simple chess game, written in C++, that runs in a console. Made for didactic purposes and fun :)
3 Oct 2022 by honey the codewitch
Monitor your CPU and GPU activity with this little project
27 Sep 2022 by Michael Sydney Balloni
Different languages and approaches are evaluated for a file and string processing benchmark
25 Sep 2022 by David 'dex' Schwartz
Old style printf format strings ported to an ostream shim class
22 Sep 2022 by Bruno van Dooren
This article shows how to retrieve the Privileges and Groups that are part of an access token such as the current thread token.
22 Sep 2022 by Raphael Amorim
How to get plain text session using CryptoAPI
20 Sep 2022 by Greg Utas
Structuring main() and quickly recovering from memory corruption
18 Sep 2022 by Mikhail Semenov
This article proposes a mapping algorithm, called Segmented Map, which is almost as fast as Flat Map is random access and enumeration of elements and close to std::map in insertion of elements.
11 Sep 2022 by DRaahul
The fully working sample code explains everything necessary to create a Minifilter driver to block devices connected through an interface.
10 Sep 2022 by Mikhail Semenov
This article shows that double-ended vector is much faster than std::deque and should be preferred.
8 Sep 2022 by Bruno van Dooren
How concepts can be used in template programming for partial specialization
6 Sep 2022 by EgorYusov
An implementation of a basic path tracer with Diligent Engine
6 Sep 2022 by Michael Chourdakis
This class allows math between any size big number, as long as your available memory can handle it.
4 Sep 2022 by Tejpal Singh Chhabra
A C++ class implementing a back-propagation algorithm neural net, that supports any number of layers/neurons
4 Sep 2022 by Michael Chourdakis
A quick implementation of my ideas
3 Sep 2022 by honey the codewitch
Understand the difference between headers and source files, what they do, and how they work together.
30 Aug 2022 by EgorYusov
This article introduces Diligent Engine, a modern cross-platform graphics API abstraction library and rendering framework
30 Aug 2022 by Shao Voon Wong
Windows 11 Version Detection using C# and C++
30 Aug 2022 by Shao Voon Wong
How to make an HTTP REST request in C++ with WinHTTP wrapper
26 Aug 2022 by Bruno van Dooren
This article describes a way to hash data using the latest Win32 API and C++
25 Aug 2022 by honey the codewitch
Dusting off an old MIDI toy project and making it less of a toy.
22 Aug 2022 by steveb
An application that stores and manages useful code snippets and keeps them always handy
20 Aug 2022 by Patrice T
Using a large list of primes with Trial Division algorithm and how to handle the list
16 Aug 2022 by Bruno van Dooren
This article describes how to use Windows transactions to recursively delete a registry tree under a registry subkey and then the subkey itself.
13 Aug 2022 by Michael Haephrati
TinyObfuscate is a simple tool you can use when you need to obfuscate or conceal strings in your program; it prevents them from showing up with a strings or hex tool once your executable is examined.
1 Aug 2022 by Bridget Mwikali
This article provides an overview of LLVM and how it applies to oneAPI and its compiler.
28 Jul 2022 by Valentin Kubarev
In this article we discuss how to use SYCL and oneIPL to offload Gaussian image filtering to an accelerator.
27 Jul 2022 by Intel
This document demonstrates how a linear algebra Jacobi iterative method written in CUDA* can be migrated to the SYCL* heterogenous programing language.
25 Jul 2022 by honey the codewitch
Make your little devices sing
21 Jul 2022 by Bruno van Dooren
This article demonstrates how to use Win32 transactions with file and registry operations.
15 Jul 2022 by Maxim Kartavenkov
Article describes created .NET wrapper library
14 Jul 2022 by honey the codewitch
Unlock the potential of this neat little IoT widget