Click here to Skip to main content
15,867,961 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 Hatem Mostafa
Artificial Neural Network C++ class with two use cases: Counter and Handwritten Digits recognition
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.

Latest Articles

by Yochai Timmer
A way to avoid JNI's reflection oriented programming. Wrapping Java with C++
by Mircea Neacsu
Examines the performance of SQLite in multi-threading applications
by honey the codewitch
Do you need to be able to perform a firmware update without using WiFi? This project is for you.
by Uwe_Sieber
Shows how to use IOCTL_USB_HUB_CYCLE_PORT to restart a USB port under Windows

All Articles

Sort by Score

C++ 

4 Apr 2014 by Pragmateek
Using C# from native C++ with the help of C++/CLI.
21 Oct 2013 by Imran Abdul Ghani
ASP.NET Web API 2 has been released with a number of new exciting features. In this web development post, I'll try to discuss new features of it which can be considered the top 5.1.
4 May 2017 by Shun Huang
Here is a quick start to use Visual Studio code for C++ programmers in Linux
1 Apr 2013 by ocoudert
C++ might not be the easiest language to master, or the most fashionable in the web spheres, but it is still the undisputed king for high performance computing, whether performance means speed, memory, or power.
18 Apr 2016 by Mircea Diaconescu, Gerd Wagner
Learn how to develop Arduino-based apps for the Web of Things (WoT). This second part of a series of tutorials shows how to read analog and digital sensors with the help of Arduino.
11 Jun 2014 by Steve Wellens
There was a question from a student over on the Asp.Net forums about improving site performance. The concern was that every time an app setting was read from the Web.Config file, the disk would be accessed. With many app settings and many users, it was believed performance would suffer.
3 May 2016 by Mircea Diaconescu, Gerd Wagner
In this multi-part tutorial we show how to develop Arduino-based apps for the Web of Things (WoT). This third part shows how to set up a connection between an Arduino and the Internet via a WiFi network and use HTTP(S) to send data to a free cloud service like ThingSpeak.
10 Jul 2017 by matt warren
Fortunately, there’s a fantastic tool that makes it very easy for us to get an overview of memory usage within the CLR itself. It’s called VMMap and it’s part of the excellent Sysinternals Suite.
8 Jun 2011 by Arik Poznanski
In this post, we continue our review of the Windows Ribbon Framework feature brought to us in Windows 7. For more information on the ribbon feature in general and Windows Ribbon Framework in particular, make sure you read Part 1.
3 Jun 2013 by Pankaj.Sinha.Techno
Loading assemblies using Assembly.Load, Assembly.LoadFrom and Assembly.LoadFile
23 Oct 2014 by Ben M Watson
Using MemoryStream to wrap existing buffers: Gotchas and tips
20 Mar 2016 by Rob Kraft
We often hesitate to take the action that shows we are committed to doing something new. We read about it, analyze it, and try to understand it; but real learning requires that we go beyond reading. We must DO.
2 Jun 2014 by Bartlomiej Filipek
How memory access patterns can influence performance of your code
8 Sep 2014 by Dan Sporici
Calling a C# method from C/C++ (native process)
14 Mar 2013 by Bartlomiej Filipek
Include Guards, Pragma Once, Predeclarations and other hints that might be useful when dealing with includes.
4 Dec 2016 by Mircea Diaconescu, Gerd Wagner
Home Automation is made simple for everyone, with the industrial grade PRODINo ESP8266 based module. It can be programmed with the Arduino IDE and allows to control (ON/OFF switch) mains (110-240 VAC) powered devices such as light bulbs, water pumps, cafe machines or garage doors.
28 Aug 2017 by Ravimal Bandara
A new contrast enhancement algorithm which is fast, simple and powerful by means of boosting and illumination normalization. It was invented accidentally but the performed well in 2 different applications i.e. superficial vein enhancement and blood vessel enhancement in retinal fundus images.
3 Jan 2019 by Ryan Peden
How JavaScript arrays work under the hood
15 Nov 2019 by Michael Adaixo
Multi-threading in C++
9 Apr 2009 by Sacha Barber
I was working on something for an upcoming article that I am writing where I am messing around with 3D, and I was having a small issue with a VisualBrush (something to do with Freezable, I never did quite figure it out and came up with a better solution), but along the way of trying [...]
27 Apr 2010 by TheyCallMeMrJames
This is the third post in a series about jQuery and ASP.NET MVC 2 in Visual Studio 2010. 100% of the developers I have talked to this morning are enjoying jQuery and how it makes ASP.NET MVC sites a treat to work on. Of course, the sample size was one (1) developer, and he’s writing this post.
28 Nov 2011 by Adnan Boz
In this blog post, I’m diving deeper into Thrust usage scenarios with a simple implementation of Monte Carlo Simulation.
1 Apr 2013 by jsolutions_uk
An IOC Container using variadic template.
16 May 2014 by Bartlomiej Filipek
Description of my emitter and generator module for particle system
10 Oct 2021 by Shun Huang
Introduce Python's way to support polymorphism and duck typing from the concept of C++ polymorphism
25 Oct 2021 by Shun Huang
Some Python scope rules that are not intuitive for people from a C++ background
13 Jul 2017 by hjgode
How to disable StartMenu clicks and Win key for kiosk mode application using a library
2 May 2012 by ericevenchick
Interrupts and how to implement them in a bootloader
22 Nov 2013 by pi19404
This article tells us how to grant access to its non public members by the use of friend mechanism.
16 Feb 2015 by Eric Z (Jing)
Evaluation order matters!
17 Nov 2015 by Kevin Mack
Hello All! Welcome to TotalALM. This is a new blog being written by Kevin Mack, and Brandon Rohrer, and you will be seeing many more posts from the two of us about all things ALM. To find out more about who we are, please feel free to check out our bios on this site.
14 Jan 2020 by 10xlearner
const-correctness, about when and why you should use const keyword - this post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming
28 Jun 2010 by Alexey Kurakin
This article is the second part of my series about remote threads. In this part, I describe how you can create permanently executing thread with any of your code inside address space of another process.
31 Jul 2012 by kishore Gaddam
How to use SCRUM Template 2.0 to manage projects in VS 2012 TFS
7 Oct 2012 by Marius Bancila
C++ 11 non-member begin() and end()
15 Oct 2012 by Marius Bancila
I will show how to provide keyboard input for WPF controls hosted in a Win32 applications.
9 Jul 2014 by Bartlomiej Filipek
Description about my simple OpenGL renderer for the particle system
12 Jan 2015 by BC3Tech
While playing around with NuGet as much as I have been, I noticed something in the ‘nuget pack’ command that I thought was pretty interesting. A ‘-symbols’ flag. “What’s this do?” I thought. So, naturally, I gave it a shot. What NuGet spat out for me was a .
5 Feb 2015 by Grant Curell
This code is for Python 3. I was surprised to discover that I couldn’t really find a good way to do this when I Googled for a solution. I just kept getting results for Google’s youtube API, which is great… but also massive overkill for what I wanted to do.
18 Sep 2015 by Dmitriy Kozlov
Forms Designer has just gotten a new feature: the related items control is now able to do inline spreadsheet-style quick editing. This feature is supported in SharePoint 2013 and SharePoint Online in Office 365.
17 Mar 2016 by Sibeesh Passion
In this article we will learn how we can create some client side chart widgets with the data from SQL Server database. We use MVC architecture with Web API and Angular JS to fetch the data and do all the manipulations. I am creating this application in Visual Studio 2015.
22 Jul 2016 by Andrei Ion Rînea
Having fun with HTML 5 history API - Part 3
13 Apr 2017 by matt warren
CLR thread pool 'thread injection' algorithm
27 Jan 2020 by 10xlearner
How to format CMake files
8 Oct 2022 by Shun Huang
Various ways to run and build Python code for those who have C++ background
4 Apr 2023 by Tough Developer
How to troubleshoot slow C++ debugging with VS2022
16 Aug 2014 by Eric Z (Jing)
Understand std::atomic::compare_exchange_weak() in C++11
15 Mar 2010 by Mahmudul Haque Azad
A simple trick to add to custom node to the XML commenting.in GhostDoc
5 Aug 2010 by Orjan Westin
Xerces is a powerful validating XML parser, which needs some care to avoid memory leaks. Here is a helper for that.
1 Feb 2011 by AlexCode
Image Sprites and CSS Classes creator
23 Feb 2011 by gclass
At PDC 2009, Reed Townsend presented some very exciting multitouch samples in a presentation: Windows Touch Deep Dive. This blog covers the code behind of the custom 3D manipulations that were presented.
22 Jul 2011 by João Paulo Figueira
An alternative way to create the menu bar
1 Feb 2012 by Sebastian Krysmanski
C++ references and inheritance
23 Sep 2012 by Issam Lahlali
MemCache++ is a light-weight, type-safe, simple to use and full-featured Memcache client. It was developed by Dean Michael Berris who is a C++ fanatic, loves working on network libraries (cpp-netlib.github.com), and currently works at Google Australia.
21 Nov 2012 by Chris_Green
I was fortunate enough to have the opportunity to attend the Software Architect Conference this year in London.  This is the same group which puts on DevWeek.  It was short and sweet, just 2 days without the additional sessions before and after.
20 Jul 2013 by m_kramar
MVC Complex model postback: bind field to JSON string
9 Feb 2014 by AssemblySoft
When your cloud services have been deployed and things are maybe not going quite as you expected, the first thing you may turn to is diagnostics.
21 Jul 2014 by BrainlessLabs.com
In this chapter we will deal with class, structures and objects. So class or struct is the keywords we use to create a class in C++. The class can hold static, non static member variables. Class can contain static, non static and virtual member functions.
25 Jul 2014 by Thomas Maierhofer (Tom)
TinyMCE additional HTML elements
24 Aug 2014 by Arun Ramachandran India
WebMethod overloading in ASP.NET web services
2 Sep 2014 by BrainlessLabs.com
C++11 Constructors and Copy Assignment – Part 2
17 Sep 2014 by IInjac
CodeProject   It’s been a while since the last part, but I have been terribly busy. In the last part you learned about custom controllers, the ApiServices-class and the Authorization level attributes. In this part you will learn how to wire up everything.
8 Apr 2016 by Codeman the Barbarian
Embedded Programming – Getting Started With the Netduino - Part 2
31 Aug 2015 by Prava-MFS
Hello everyone, today I am going to share one basic thing, which you all may know about it. I am going to explain how can we create numbered list using CSS. So, let’s go through it quickly without wasting much of our time :). HTML provides us few ways of creating lists.
17 Nov 2015 by Sibeesh Passion
How to load an XML file and show as li using ng-repeat in Angular JS
28 Sep 2017 by Sacha Barber
Finishing the 'view rating' page
26 Mar 2019 by thoughts-on-coding
Introduction into an Automated C++ Build Setup with Jenkins and CMake
18 Nov 2019 by Michael Adaixo
Parallelizing ray tracing in C++
21 Jul 2021 by aroman
This blog entry shares a project that computes the band structure of a crystal having the diamond/zincblende structure, for various elements.
21 Jul 2021 by aroman
In this post we introduce the Fourier Transform and hint about some of its usages.
22 Apr 2023 by Coral Kashri
About C++20 Ranges library
5 Dec 2009 by S. Senthil Kumar
Why did it not run?
18 Mar 2010 by Mohammad Elsheimy
Learn how to create your CWinApp::OnIdle in C
9 Jun 2010 by Alexey Kurakin
This article describes way of secure and undetectable communication between software inside Virtual Machie and software running on the host OS
25 Nov 2010 by Abhijit Jana
How to Use ASP.NET “Property Pages” to create or host a Silverlight application in ASP.NET Site?
4 Jan 2011 by GarethI
Creating native extension library for data quality testing
6 Jan 2011 by Bikash Shaw
Test your web application’s UI with JUnit and Selenium
10 Sep 2011 by stfairy
Learning Poco: GET with HTTP
11 Sep 2011 by stfairy
In this tutorial, we will write a simple HTTP server by using useful components provided by Poco
26 Jan 2012 by Sebastian Krysmanski
This article is the second part of the subprojects mini series and will show how to use a DLL library project in another project.
25 Mar 2012 by stoimenpopov
Quicksort is a very elegant general purpose sorting algorithm and every developer should be familiar with its principles.
26 Nov 2012 by alex turner
C takes far too long to code up when complex data marshalling or logic gets involved. Also, the very act of writing it is so slow because of its challenges to the IDE.
15 Jul 2013 by viva64.com
This time we will discuss virtual inheritance in C++ and find out why one should be very careful using it.
14 Aug 2013 by Praveen Kumar Katiyar
Modifying an array of structures.
15 Aug 2013 by Praveen Kumar Katiyar
Packing an array inside a VARIANT.
29 Aug 2013 by Talking Dotnet
In my previous post about Writing your first jQuery Mobile app - Part 1, I have explained about creating single page, changing themes and creating navigation button.
20 Sep 2013 by Melick
Format text out as a table (format-table) in PowerShell
18 May 2014 by Paul M Watt
I discussed the merits of selecting a suitable unit test framework for your development project in my previous post. I described the qualities that I found most valuable in the test framework that I use, CxxTest. The qualities are xUnit framework, portability, simplicity, and flexibility.
16 May 2014 by Bartlomiej Filipek
Description of the implementation of my particle container
30 May 2014 by IInjac
CodeProject Welcome to this multi-part series about the managed version of theWindows Azure Mobile Services backend.
9 Jun 2014 by IInjac
CodeProject In the first part of this series you learned about the basic differences between the JavaScript and the managed backend. This part will introduce you to the basics of ASP .NET and OWIN.
30 Jul 2014 by David Corne
This post is an introduction to a library I have written, UnitC++.
2 Aug 2014 by CdnSecurityEngineer
Intro – Secure Process Creation I chose the Secure Process Creation pattern as the first pattern to kick of the series on security design patterns because process creation is everywhere in the software world today. Ensuring that the way processes…Read more ›
16 Oct 2014 by Artem Los
The requirement of performing several thousands of calculations (for example, during integration) led to the optimization with pre-scanned expressions. But the aim to make Mathos Parser even faster still remained.
16 Oct 2014 by Gaurav Aroraa
In our previous posts we learned ‘What is S.O.L.I.D. Programming Principles and a detailed explanation with code of Single Responsibility Principle, Open/closed Principle, Liskov Substitution Principle and Interface Segregation Principle.
26 Oct 2014 by Biswal Tanmaya
In this blog, we will discuss how to cache your whole project.
6 Nov 2014 by Stephen C Young
Functional Programming
6 May 2015 by User 11633146
Visions of generics and templates: How parametrics are compiled
26 Jun 2015 by Member 11794279
"Data! Data! Data!" he cried impatiently.
11 Sep 2015 by Steve Naidamast
Common Sense Software Engineering – Part II; Requirements Analysis Due to the nature of this critical component to software development, this essay intends to present this subject in broad strokes to incite interest among developers in pursuing their own development agendas properly.