Click here to Skip to main content
15,946,320 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 honey the codewitch
Make a little widget that tracks your speed using GPS and strap it to your bike.
by JadBenAutho
Efficient and standalone library for NTP server/client utilizing pure C++
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.
by YasIkeda
Fix was released. When I ran find_package( SQLite3 REQUIRED ) in my CMake script three weeks ago, it failed and output an error. Here's how I solved it.

All Articles

Sort by Score

C++ 

11 Aug 2008 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.
5 Jun 2008 by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
4 Apr 2008 by Hans Dietrich
XColorSpectrumCtrl displays a color spectrum that allows user selection, and provides APIs for color based on RGB and HSL color models.
17 Jan 2005 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.
8 Mar 2022 by honey the codewitch
GFX is a fast and full featured replacement for standard IoT drawing libraries that is optimized to reduce bus I/O
10 Sep 2009 by Chesnokov Yuriy
General idea of how the computer may be used to describe the image analyzing its pixel content known as ALIP
23 Oct 2008 by Paul Vickery
Code to add a message bar to virtually any existing Windows control.
3 Apr 2022 by Carlos Jiménez de Parga
A reusable Visual C++ framework for real-time volumetric cloud rendering, animation and morphing
19 Jul 2007 by Hans Dietrich
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
12 Jan 2020 by Shao Voon Wong
Floating Point Format For C++ and C# Programmers
9 Jun 2005 by Nish Nishant
CProcessData is a template class that makes it easy to use data allocated in a different process, and is useful when making inter-process SendMessage/PostMessage calls.
11 Mar 2017 by Sergey Alexandrovich Kryukov
Derived work based on the article by Sergey Ryazanov "The Impossibly Fast C++ Delegates": this good solution is fixed and further developed using C++11.
U 20 Jul 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.
26 May 2022 by Miroslav Fidler
Installation and the first look at U++ platform
23 Mar 2021 by Espen Harlinn
Choosing the right synchronization mechanisms when working with threads, thread-pools, and I/O Completion ports to create high performance asynchronous servers in C++
10 Mar 2002 by Paul M Watt
Guide to understanding how to create and use regions with the WIN32 SDK
28 Sep 2002 by Stoyan Damov
Internet File System from scratch - making web services and peer-to-peer technology work together to build a virtual file system
11 Jul 2002 by Oz Solomon
Window and File Management add-in for Visual C++
22 Jan 2017 by marcus obrien
My experience of the disastrous effects of a bad OO design, in particular, what happens when combinatorial explosion arrives knocking on the door
13 Jul 2019 by Michael Chourdakis
An easy locking class for shared/exclusive mutex functions with upgrade/downgrade
23 Mar 2009 by Jeffrey Walton
Perform authenticated encryption with Crypto++.
1 May 2014 by codestarman
X86/ARM emulator written using C++ and assembler for the .NET environment.
6 Jan 2020 by The Ænema
This article will teach you how to create an amazing, clean and smooth WPF/Winform UI for your native application without using any complex, unsafe, ActiveXish methods, etc.
26 May 2006 by Michael Dunn
A tutorial on writing a shell extension that can be used on the Send To menu.
30 May 2006 by Michael Dunn
A tutorial on using owner-drawn menus in a context menu shell extensions, and on making a context menu extension that responds to a right-click in a directory background.
1 Mar 2019 by AmirAslan Haghrah
Implementing a very simple Backpropagation Neural Network algorithm to approximate f(x) = sin(x) using C++
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.
10 Nov 2002 by Alexey
The ALXGrid Control Library is a set of classes for management of data as a table.
13 Sep 2005 by Jecho Jekov
Provides an easy way to use C calling convention callback functions in C# and VB
27 Jun 2022 by Shao Voon Wong
A portable and easy-to-use C++ file library to read and write structured data
15 Jul 2022 by Maxim Kartavenkov
Article describes created .NET wrapper library
7 Jul 2017 by Leif Simon Goodwin
How to pass strings between managed and unmanaged code
6 Apr 2020 by Jovibor
Owner-draw list control with tooltips, editing, colors, sorting, hyperlinks, columns hiding and lot more.
4 Sep 2002 by Stephane Rodriguez.
This article demonstrates how to automate IE's Save As functionality
25 May 2009 by Jochen Baier
Using this smart 'FIXME' macro will help you not to forget to fix your code.
2 Nov 2009 by csrss
A tool for loading device drivers
1 Nov 2017 by Jose A Pascoa
Rolling up a practical solution
28 Oct 2018 by Andrew Kirillov
The article demonstrates usage of ANNT library for creating convolutional ANNs and applying them to image classification tasks.
6 Oct 2021 by D. Infuehr
How C++ enables us to write insanely fast code - for chess, and anywhere else
20 Apr 2002 by Chris Losinger
A base class for a prefereneces dialog, similar to that used in Netscape
25 Nov 2004 by Thorsten Ottosen
Are you tired of filling data manually into STL containers? With the Initialization Library it gets a lot easier.
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.
1 Nov 2017 by peterboulton
Add new Ribbon themes to MFC application built using VS Feature Pack' classes
5 Apr 2001 by Joseph M. Newcomer
How do you capture the bitmap of a window? This little download shows how, and places the bitmap on the clipboard.
19 Mar 2007 by Adam Nelson
Surveys other phonetic matching techniques, and presents additional resources on the subject.
21 Jan 2024 by David Lafreniere
Protect against heap fragmentation faults and improve execution speed with a fixed block alternative to STL std::allocator
10 May 2017 by Petrov Vladimir
Former NeHe OpenGL Lessons adapted to MSVS-15 pro MFC in INICODE and the samples of the Joystick implementation
29 Aug 2017 by Andrew Kirillov
The article describes cam2web project - an open source application aimed for streaming cameras as MJPEG streams.
25 Apr 2023 by Shao Voon Wong
Tracing GDI Leaks with Windows Debugger
7 Apr 2000 by PJ Naughter
A collection of freeware MFC classes to encapsulate the SNTP protocol.
25 Mar 2018 by The Ænema
Inject your 4.5 framework .NET application into a C++ unmanaged host application - fast, secure & without any extra tool or library.
23 Mar 2021 by Espen Harlinn
A .NET Core client implemented in C# using TcpClient and a multi-threaded server implemented in C++
26 Dec 2001 by Chris Maunder
Some classes and utility functions for general computational geometry
29 Nov 2004 by peterchen
Do your users a favor - add snapping edges to MDI child windows (or anywhere else).
30 Mar 2023 by Piotr Grygorczuk
Enable C++11 multithreading features in GCC for FreeRTOS
13 Sep 2021 by Mircea Neacsu
Various algorithms for 2D interpolation
19 May 2021 by Michael Haephrati
How to enhance the MFC CSplitButton control to support images
26 Nov 1999 by Chris Maunder
Shows how to use text callbacks in list controls
11 Sep 2017 by Michael Haephrati
A simple way to provide silent automatic updates with no server side code
5 Jun 2024 by Jerome Vonk
Simple chess game, written in C++, that runs in a console. Made for didactic purposes and fun :)
24 May 2006 by Michael Dunn
A tutorial on writing a shell extension that provides custom drag and drop functionality.
9 Jun 2002 by Chen Hao
How to control the dependancy on oleacc.dll in your Visual C++ .NET applications
13 Jun 2002 by Tim Smith
Color picker control for WTL applications including optional support for XP themes
7 Aug 2007 by Hans Dietrich
XBreadCrumbBar is a windowless non-MFC class that allows you to display a breadcrumb trail as HTML text, with support for web links and APP: links.
20 Sep 2012 by Marius Bancila
This article proposes a C++ implementation for computing hashes (SHA1, MD5, MD4 and MD2) on Windows with the Microsoft CryptoAPI library.
12 Nov 2020 by Miroslav Fidler
...but I will tell you anyway.
6 Feb 2000 by Keith Rule
Create visually complex, yet programmatically simple, non-rectangular GUIs
5 Nov 2002 by Alexey
The alxBase classes for work with dbf files.
27 Aug 2002 by Nish Nishant
A wrapper class for SHFormatDrive (XP/2K only). Corrects some errors in KB article Q173688
29 Mar 2018 by Andrew Kirillov
The article describes the PiRex robot controllable from either a web browser or a dedicate client application by using REST API.
4 Apr 2019 by Andrew Kirillov
An open source application to acquire and process video from cameras
21 Jul 2022 by Bruno van Dooren
This article demonstrates how to use Win32 transactions with file and registry operations.
6 Feb 2000 by Stuart Carter
This article explains how to support file drag and drop in your CWnd-derived object
31 Mar 2017 by JorgeLuisOrejel
This article describes the implementation and testing of a simulator of a universal Turing machine.
23 Mar 2024 by Uwe_Sieber
Shows how to use IOCTL_USB_HUB_CYCLE_PORT to restart a USB port under Windows
14 Jun 2002 by Neil Van Eps
An article on drawing Code 39 barcodes to the screen or to the clipboard
10 Sep 2010 by logicchild
An article that explains how to use this library
1 May 2017 by AlexeyAB
Examples of use and testing of a thread-safe pointer and contention-free shared-mutex
2 Aug 2017 by Marius Bancila
Using managed COM objects in C++ without registering the server in Windows Registry
20 Sep 2022 by Greg Utas
Structuring main() and quickly recovering from memory corruption
22 Jun 2021 by Miroslav Fidler
Creating a simple utility for converting text to SVG path in U++
8 Sep 2022 by Bruno van Dooren
How concepts can be used in template programming for partial specialization
5 Dec 2019 by Petrov Vladimir
Compact and simply Vector Formula of the Intersection Point of Two Line Segments
14 Feb 2024 by Michael Haephrati
Windows Services are powerful little beasts and encountering them is unavoidable when developing under Windows
18 May 2002 by Adam Solesby
Useful Visual Studio macros to simplify commenting code
16 Apr 2007 by Matt (D) Wilson
A simple command-line utility that validates XML files, implemented using MSXML via the VOLE COM/Automation driver library
20 Mar 2009 by SBJ
A Model-View-Controller Framework that integrates with the MFC Doc/View architecture
5 Mar 2009 by Ernest Laurentin
Full-fledged ATL Windowless ActiveX Container. Ideal for hosting Windows Media Player, Transparent Flash and Silverlight Animations.
1 Sep 2009 by Koushik Biswas
How to setup Darwin Streaming Server 6.0.3 on 32 or 64 bit Linux platforms, add custom functionality by developing plugins ("modules" as Apple calls them), and results of some performance and load tests I ran
6 Mar 2012 by Chandrakantt
Registering a custom URL protocol for invoking an application
26 Oct 2022 by Shao Voon Wong
H264/HEVC Video Encoder for recording OpenGL rendering
27 Sep 2022 by Michael Sydney Balloni
Different languages and approaches are evaluated for a file and string processing benchmark
17 Oct 2021 by Petrov Vladimir
Starting Threads in MFC and Win32 and some handling samples
20 Mar 2024 by Michael Chourdakis
DirectX hardware screen capture and encoding with audio mixing capabilities. H264/H265/VP80/VP90/FLAC/MP3. HDR supported.
U 21 Jul 2024 by JadBenAutho
Efficient and standalone library for NTP server/client utilizing pure C++
2 Nov 2001 by Roman Kiss
This article describes a .NET Application model driven by the Web Services using the Virtual Web Service Proxy (written in C#)
14 Oct 2002 by Douglas Earl
Use .NET remoting to send the contents of your clipboard to another computer
18 Jan 2018 by Jan Dolinay
Source level debugger for Arduino with GDB and Eclipse