Click here to Skip to main content
15,906,626 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 Matt Scarpino
This article explains how to code applications that rely on gRPC to transfer data using protocol buffers.
by Shao Voon Wong
C++ Multithreaded Count Benchmark using Visual C++, G++ and Clang
by honey the codewitch
Get location information based on your IP address using an ESP32 and ip-api.com
by honey the codewitch
Explore my user interface library with an example of an Internet enabled clock

All Articles

Sort by Updated

C++ 

N 27 May 2024 by Matt Scarpino
This article explains how to code applications that rely on gRPC to transfer data using protocol buffers.
12 May 2024 by Shao Voon Wong
C++ Multithreaded Count Benchmark using Visual C++, G++ and Clang
8 May 2024 by honey the codewitch
Explore my user interface library with an example of an Internet enabled clock
6 May 2024 by Shao Voon Wong
No frills C++ MP3/WMA DirectShow player class
5 May 2024 by EgorYusov
This article introduces Diligent Engine, a modern cross-platform graphics API abstraction library and rendering framework
28 Apr 2024 by Shao Voon Wong
C++ SAX library to simplify XML parsing
26 Apr 2024 by Shao Voon Wong
Tutorial on a cross-platform C++ XML DOM library
23 Apr 2024 by Hatem Mostafa
Artificial Neural Network C++ class with two use cases: Counter and Handwritten Digits recognition
18 Apr 2024 by Michael Chourdakis
An introduction to machine learning with working C++ code that trains a linear regression model.
8 Apr 2024 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.
2 Apr 2024 by Igor Gribanov
C++ iterators and algorithms work well for containers, but can we sort the Structure of Arrays?
31 Mar 2024 by honey the codewitch
Stream JSON efficiently on little devices with minimal flash and memory usage
25 Mar 2024 by Mircea Neacsu
Examines the performance of SQLite in multi-threading applications
24 Mar 2024 by honey the codewitch
Do you need to be able to perform a firmware update without using WiFi? This project is for you.
23 Mar 2024 by Uwe_Sieber
Shows how to use IOCTL_USB_HUB_CYCLE_PORT to restart a USB port under Windows
20 Mar 2024 by Michael Chourdakis
DirectX hardware screen capture and encoding with audio mixing capabilities. H264/H265/VP80/VP90/FLAC/MP3. HDR supported.
19 Mar 2024 by honey the codewitch
Just a clock with snazzy digits that syncs using NTP and gets your timezone from your IP.
16 Mar 2024 by Henrik Vestermark
The steps needed to build an Interval Arithmetic class in C++
14 Mar 2024 by Ștefan-Mihai MOGA
An alternative Windows version to XML Sitemap online generators
7 Mar 2024 by Michael Sydney Balloni
A "new" queue data structure is described and compared with existing collection types
5 Mar 2024 by PJ Arends
An MFC CWnd derived grid of user definable tiles
4 Mar 2024 by deangi
A Bluetooth LE scanner gathers data on a schedule from one or more BLE servers and forwards it to WiFi.
4 Mar 2024 by honey the codewitch
Display automated (optionally controllable) Tetris on an LCD or Neopixel panel
3 Mar 2024 by Shao Voon Wong
Lee Algorithm Mazesolver in MFC and Direct2D
2 Mar 2024 by JadBenAutho
Efficient and standalone library for NTP server/client utilizing pure C++
27 Feb 2024 by jespa007
A simple script engine for C++
26 Feb 2024 by deangi
An ESP32 with a temperature/humidity sensor are configured as a bluetooth low energy server to provide remote monitoring
24 Feb 2024 by honey the codewitch
Got an embedded or IoT widget with a screen but no real memory or flash space to speak of? Read this.
21 Feb 2024 by FPGANinja
A walkthrough and source code for designing a stream interface in Vitis HLS
21 Feb 2024 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.
21 Feb 2024 by P. Erward
How to put the AWS Lambda C++ Runtime into a Lambda layer and how to use it
14 Feb 2024 by Shao Voon Wong
Learn 30 Windows Multithreading Mistakes and Solutions to Avert Them
14 Feb 2024 by Michael Haephrati
Windows Services are powerful little beasts and encountering them is unavoidable when developing under Windows
10 Feb 2024 by deangi
IoT data edge hub is designed for remote low power unattended applications. IoT devices can post data to the Hub which will store the data and make it available for later download to core servers. Design is based on a low cost ESP32 platform with an attached SD card.
8 Feb 2024 by Petrov Vladimir
Build up our own AVI editing application and explore some fun techniques using simple code additions
1 Feb 2024 by Orphraie
Study of 3D graphics in video games with minimal prior knowledge of mathematics
1 Feb 2024 by Michael Chourdakis
Easily migrate to WinUI3 from plain Win32 while keeping all Win32 features intact
28 Jan 2024 by deangi
Monitoring AC loads with CT sensors
27 Jan 2024 by Shao Voon Wong
C++17 easy string to number and vice versa conversions in header-only class
25 Jan 2024 by Bruno van Dooren
An introduction to exporting functions from DLLs
21 Jan 2024 by David Lafreniere
Protect against heap fragmentation faults and improve execution speed with a fixed block alternative to STL std::allocator
21 Jan 2024 by David Lafreniere
Replace malloc/free with xmalloc/xfree is faster than the global heap and prevents heap fragmentation faults.
20 Jan 2024 by Ștefan-Mihai MOGA
How to solve real-life problems using B-trees
20 Jan 2024 by Michael Chourdakis
A set of tools to create a new VCXPROJ file automatically
20 Jan 2024 by Ștefan-Mihai MOGA
The article discusses the concept of cryptography and its application in ensuring data security.
17 Jan 2024 by deangi
The inexpensive ESP32 platform is used to take periodic photos that can make a time-lapse video.
16 Jan 2024 by deangi
An ESP32 is used to track water usage and serve web pages with water use data
15 Jan 2024 by Espen Harlinn
Harlinn.Windows is a collection of libraries that I have put together that serves as a big part of the runtime we use at work.
11 Jan 2024 by Bruno van Dooren
In this article, I explain how to create win32 style DLLs and what the various significant intricacies are.
8 Jan 2024 by Henrik Vestermark
Ostrowski multi-point method for Polynomial roots
20 Dec 2023 by Henrik Vestermark
Durand-Kerner method for Polynomial roots. A fast and reliable simultaneous method
18 Dec 2023 by Intel
A Deep Dive into Performance Tuning for the Intel® Xeon® CPU Max Series
18 Dec 2023 by Intel
Take Advantage of On-Chip Acceleration of Data Transformation in 4th Gen Intel® Xeon® Scalable Processors
17 Dec 2023 by Evgeny Pereguda
This article presents my project for capturing of video and audio sources on Windows OS by Microsoft Media Foundation.
15 Dec 2023 by Patrice T
Small review of Trial Division algorithm
14 Dec 2023 by Intel
The article emphasizes the importance of interoperability between various standards, such as Level Zero, SYCL, SPIR-V, OpenMP, ISO C++, and ISO Fortran, and explores the evolution and alignment of these standards over the last decade, while also considering how SYCL may influence the future of
29 Nov 2023 by Henrik Vestermark
Laguerre's method for a stable and efficient polynomial root finder.
21 Nov 2023 by deangi
DIY GPS Location Tracker
11 Nov 2023 by Henrik Vestermark
Practical implementation of a fast, robust and stable polynomial root finder using Halley's method
23 Oct 2023 by honey the codewitch
Create ASCII art from common image formats and text
19 Oct 2023 by Bruno van Dooren
An overview of the different ways to mitigate the impact of DCOM hardening
17 Oct 2023 by Henrik Vestermark
Fast and Stable Polynomial root finder for Polynomial with real coefficients
13 Oct 2023 by Maxim Kartavenkov
This is a guide on how to configure your application, service or driver to handle appearing the new devices or device removal avoiding reboot request.
11 Oct 2023 by Henrik Vestermark
Practical implementation of a fast, robust and reliable polynomial root finder using Newton's method
9 Oct 2023 by Mircea Neacsu
This is (yet another!) article on how to handle UTF-8 encoding on a platform that still encourages the UTF-16 encoding.
3 Oct 2023 by honey the codewitch
Exploit some of the power of C++ and optimize the way your code calls your code.
30 Sep 2023 by honey the codewitch
Run and develop Arduino code, including a display, on PC using this Windows PC shim and emulator.
25 Sep 2023 by Leonid Chashnikov
Discover an efficient way to implement document search using inverted index
24 Sep 2023 by optiklab1
Inspired while creating a maze map for the Wall-E project, follow this tutorial to explore ways to algorithmically generate mazes using Graph Theory.
22 Sep 2023 by Brian Aberle
XMLFoundation is the fastest XML Parser available. It is also a framework foundation for an application that uses XML to enable Object-XML mappings and Application Layer binding to XML Data objects.
21 Sep 2023 by Member 4201813
How to calculate transition matrix for linear pseudo-random number generator manipulating its internal state
19 Sep 2023 by sebjameswml
morph::vvec allows you to do vector math without any external libraries
17 Sep 2023 by .dan.g.
A hierarchical task manager with native XML support for custom reporting
15 Sep 2023 by optiklab1
I demonstrate with an actual implementation that well-known algorithms BFS, DFS, Dijkstra, and A-Star are essentially variations of the same algorithm.
15 Sep 2023 by optiklab1
I previously showed a way to unify implementation of graph-traversal algorithms. Now, I make it more visually appealing and look into the performance differences.
13 Sep 2023 by Dawid Borycki
In this article, you will build a Qt-based Python application with two C/C++-based DLL dependencies. This architecture mimics a typical scenario of using Python and Qt for rapid UI prototyping and DLLs for computation-intense work.
1 Sep 2023 by Shao Voon Wong
Windows Version Detection using C# and C++
19 Aug 2023 by adriancs
Communication between Arduino and C# (ASP.NET) by using AES encrypted HTTP GET request
18 Aug 2023 by Maxim Kartavenkov
Discussion of how to organize saving application trace helper information.
13 Aug 2023 by Michael Chourdakis
Use SHA-3 and the CRYSTALS Kyber, Dilithium and Sphincs in Win32 projects
12 Aug 2023 by Shao Voon Wong
C++23 Exception and C++ Windows Exception with Callstack
2 Aug 2023 by Patrice T
How to use bitwise operations on Bitfields as primitive SIMD
2 Aug 2023 by Matt Scarpino
This article explains how the Python API makes it possible to embed Python in C++ and write extension modules in C++ that can be imported in Python.
27 Jul 2023 by 1f604
An implementation of b3sum based on io_uring
26 Jul 2023 by 1f604
Source code and explanation of my io_uring based implementation of b3sum
24 Jul 2023 by honey the codewitch
A crash course in using Zephyr RTOS with my IoT ecosystem
22 Jul 2023 by Robert van Engelen
Classic globbing and modern gitignore-style globbing algorithms can be fast, whereas recursive implementations are known to blow up exponentially; why some freely available source code should not be used.
12 Jul 2023 by EgorYusov
This article describes Unity low-level plugin interface and the Unity graphics interface emulator that facilitates native plugin development.
11 Jul 2023 by honey the codewitch
Monitor your PC's CPU and GPU with an ESP32
5 Jul 2023 by Maxim Kartavenkov
Continue discussion of the simple kernel drivers tracing mechanisms by using output information into the handles of the files pipes and console passed to the driver from the host application.
27 Jun 2023 by Robert Mueller-Albrecht
Using the Intel® oneAPI Math Kernel Library SYCL API
26 Jun 2023 by Robert Mueller-Albrecht, Nikita Sanjay Shiledarbaxi
This article gives you a brief introduction of oneDPL, including a glimpse of its component APIs, and walks you through a preliminary code sample showing a practical implementation of the library.
18 Jun 2023 by Michael Chourdakis
Use your sensors for identification and verification
15 Jun 2023 by Maxim Kartavenkov
Discussion of simple ways of tracing and also new tracing technologies involved in Windows 10
9 Jun 2023 by Kashif.Mushtaq.Ca
Cross Platform AES 256 GCM Encryption and Decryption (C++, C# and Java)
18 May 2023 by Maxim Kartavenkov
The series of articles covers most aspects of logging and tracing mechanisms which can be embedded into your application. It discusses simple ways of tracing and also new tracing technologies which were involved in Windows 10.
6 May 2023 by Michael Chourdakis
How to use the WinUI3 controls in a plain Win32 application without packaging
25 Apr 2023 by Shao Voon Wong
Bring your animations to H264/HEVC video using C++ and C# with h/w acceleration