Click here to Skip to main content
15,885,244 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 Hatem Mostafa
Artificial Neural Network C++ class with two use cases: Counter and Handwritten Digits recognition
by Michael Chourdakis
An introduction to machine learning with working C++ code that trains a linear regression model.
by PJ Arends
Trace your function calls to the Output window.
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.

All Articles

Sort by Title

C++ 

14 Mar 2013 by Bartlomiej Filipek
Include Guards, Pragma Once, Predeclarations and other hints that might be useful when dealing with includes.
4 Apr 2023 by ToughDev
16-bit Stereo Audio DAC on dsPIC33FJ128GP802
14 Nov 2015 by Steve Naidamast
Initial notes… The following piece is a sociological analysis of the state of professional software development today.
14 Apr 2019 by Martin Vorbrodt
3D Engine, Camera System
13 May 2014 by Imran Abdul Ghani
5 simple steps for using web API in ASP.NET web forms application
27 May 2010 by Mohammad Elsheimy
in C#, C++/CLI, and ISO/ANSI C++
28 Jun 2013 by Zhuyun Dai
I once implemented my own Basic authentication logic in a custom ISAPI filter on IIS 6 and IIS 7.5 (classic mode).
25 Mar 2013 by jsolutions_uk
A C++ object factory.
2 Oct 2012 by Anuraj Parameswaran
A very simple and lightweight collaboration white board using HTML5 canvas API, JQuery and SignalR
19 Feb 2013 by Zac Gery
A Crash Course In CSS Sprites
24 Sep 2010 by Sarath C
Talking about Critical Section's internal use of kernel objects
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.
28 May 2013 by Keyhole Software
Using JSON and File API to view starred Google Reader posts.
5 Mar 2021 by phillipvoyle
Miniature IOC container
14 Jul 2011 by ocoudert
The best way to understand how to serialize with boost is to walk through increasingly complex serialization scenarios.
15 Oct 2012 by RizviHasan
A simple container used in MVC web applications with DI.
13 Nov 2012 by Orjan Westin
In this article, we will write a simple multi-threaded example implementation of the Observer pattern, and show how to re-synchronise a past event to look current. Then we’ll demonstrate a technique to treat future events like they’re current, too.
14 Nov 2015 by phillipvoyle
A toy prolog interpreter in C++
23 Dec 2009 by alex turner
Introduction - Why? this project sprang from a real need. Whilst it is possible to browse subversion from a web browser, the handling of non html files is a pain. We wanted a program which would show html files as web pages and all other files as text.
20 Dec 2013 by John Bandela
Here is a workaround for type inference with expression templates and proxies
15 Jun 2015 by Paul M Watt
Accidental complexity
11 May 2015 by John Bhatt
Accordion Panel with CSS
16 Apr 2009 by Pete O'Hanlon
Action based ViewModel and Model Validation
27 Feb 2015 by Dennis E White
Adjusting View so Keyboard doesn’t hide a UIController
4 Sep 2019 by 10xlearner
In this post, we are going to solve the problem named "All in a Single Night".
19 Nov 2019 by 10xlearner
Advent of code - Puzzle 16
16 Sep 2019 by 10xlearner
In this post, we are going to solve the problem named "Corporate Policy".
9 Jul 2019 by 10xlearner
In this post, we are going to solve the problem named "Doesn’t He Have Intern-Elves For This?"
9 Sep 2019 by 10xlearner
In this post, we are going to solve the problem named "Elves Look, Elves Say".
9 Jul 2019 by 10xlearner
In this post, we are going to solve the problem named "I Was Told There Would Be No Math".
22 Sep 2019 by 10xlearner
In this new post, we are going to solve the problem named "JSAbacusFramework.io".
7 Oct 2019 by 10xlearner
In this post, we are going to solve the problem named "Knights of the Dinner Table".
9 Dec 2019 by 10xlearner
In this post, are going to solve the problem called "Like a GIF For Your Yard".
19 Aug 2019 by 10xlearner
Advent of code - Matchsticks
3 Dec 2019 by 10xlearner
Hello ! I’m Xavier Jouvenot and here is the part seventeenth of a long series on Advent Of Code. You can find the previous part here. For this new post, we are going to solve the problem from the 17th December 2015, named "No Such Thing as Too Much".
9 Jul 2019 by 10xlearner
In this post, we are going to solve the problem named "Perfectly Spherical Houses in a Vacuum".
15 Oct 2019 by 10xlearner
Reindeer olympics
4 Nov 2019 by 10xlearner
Science for hungry people
12 Aug 2019 by 10xlearner
In this post, we are going to solve the problem named "Some Assembly Required".
9 Jul 2019 by 10xlearner
In this post, we are going to solve the problem named "The Ideal Stocking Stuffer".
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.
16 Feb 2015 by Eric Z (Jing)
Evaluation order matters!
6 Sep 2016 by Sacha Barber
In this post we will look at 2 ways you can write state machines with Akka. We will firstly examine the more primitive (but easily understandable) approach, and then look into the more sophisticated approach offered by AkkaFSM. What Is A State Machine?
30 Apr 2015 by Paul M Watt
A continuation of a series of blog entries that documents the design and implementation process of a library called Network Alchemy[^].
4 Feb 2015 by Paul M Watt
Alchemy: BitField
24 Apr 2017 by Orjan Westin
Using template specialization to create code handling common base64 encoding varieties
22 Jul 2011 by João Paulo Figueira
An alternative way to create the menu bar
7 Dec 2011 by WebBiscuit
An introduction to three VC++ Macros: How they came to be
1 Apr 2013 by jsolutions_uk
An IOC Container using variadic template.
18 Dec 2014 by hjgode
This is an update to my btPrint4 Android application.
22 Jul 2013 by Simon Jackson
A review of the Android Native Development Kit Cookbook.
25 Nov 2016 by Andy Point
How to create Android Navigation Bar Menu using Bottom bar Library
13 May 2015 by Neta777
In this post, I'll describe graphics buffers flows in Android, with special attention to class BufferQueue which plays a central role in graphics buffer management.
24 Mar 2016 by Sibeesh Passion
In this article we will learn how we can create Angular JS autoComplete text box 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.
17 Jun 2015 by Sibeesh Passion
Introduction Hi all, I hope you are fine. Today we will learn about Angular JS HTML DOM elements.
31 Dec 2012 by John Bandela
This post discusses another alternative to lambda move capture.
28 Aug 2013 by nageshwa
Anti-cross site scripting library (AntiXSS)
19 Oct 2009 by ocoudert
There are striking lessons in failed software architectures, and it all starts with API design. I am sharing here my practical experience with C++ projects, but most of these advices also apply to Java.
7 Jul 2015 by Sacha Barber
App.Config Transforms outside of Web Project
16 Oct 2014 by CdnSecurityEngineer
When you want to buy something that you can afford, what do you do? Well if you’re like most people you go to some financial institution and take out a loan in the amount of the item you wish to…Read more ›The post Application Security Economics appeared first on Security Synergy.
29 Sep 2015 by Sibeesh Passion
In this post we will discuss how we can apply CSS important in JQuery. We all know that we can not apply a important CSS property directly to an element. It does not work. But still there is a solution for that. Here I am going to share you that. I hope you will like […]
23 Jul 2015 by Mircea Diaconescu, Gerd Wagner
Three easy ways to programmatically reboot/reset an Arduino MCU.
17 Oct 2017 by Eric Z (Jing)
I list various array-and-pointer-problems I have heard or encountered.
29 Aug 2017 by User 1043264
How to use Razor Pages in ASP.NET Core 2.0. Continue reading
27 Apr 2010 by TheyCallMeMrJames
This is the second post in a series about jQuery and ASP.NET MVC 2 in Visual Studio 2010. Two perpetually frustrating tasks I have dealt with are scratching out a UI to collect data and having to work with that data client-side.
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.
24 Aug 2014 by Arun Ramachandran India
WebMethod overloading in ASP.NET web services
14 Aug 2014 by Arun Ramachandran India
CodeProject In the last blog post, we have discussed about consuming web services from the client application. In this article we will go over how to use session state in a web service. This is continuation of the previous article.
30 Oct 2012 by David Corne
The new auto keyword
29 Dec 2014 by Mario Vernari
This post follows my first one on Internet-of-Things telemetry project based on Azure.
3 Apr 2012 by WebBiscuit
Base64 Encoder and Boost
11 Feb 2013 by Benaiah Mischenko
Ever want to create beautiful gilding beside your text with CSS? (Here’s a demo, if you’re in a modern browser) It’s actually quite easy. Here’s how… First, some simple HTML. I’ll just give you this one: Concept 1 Minstrel Then, you need [...]
28 Dec 2014 by Prava-MFS
As we all know about CSS (Cascading Style Sheets) is a language used for styling the web pages written in HTML, XML or XHTML. In CSS, selectors play a vital role to declare which part of the web page, the style applies to and it is done by matching the tags or attributes present in […]
18 May 2013 by n.podbielski
A better algorithm for finding UpdatePanel that will be updated during page request
16 Sep 2010 by Syed Mujtaba Hassan
I needed to bind a checkbox in gridview to a database field but to my disappointment I found that this was not easy. We could bind “Text” property but what if I don’t want to display the value I am binding (e.g. ID of that record). Here is a work around.
10 Jan 2014 by Nitesh Kejriwal
Book Review – Mastering Windows 8 C++ App Development
9 Aug 2010 by Orjan Westin
Safely defining integer bounds at compile-time
30 Jun 2015 by Alejandro Gaio
Building a self-hosted, RESTful web service with WCF.
4 Jan 2010 by Ali Tarhini
The textbox we are about to discuss will have the regular asp.net validator controls built in and configurable as properties from within the textbox. Also the textbox's input type is customizable and varies between Text,Digits,Alphabets...
22 Oct 2015 by User 9557924
In this post I will try to cover some of the basic concepts and features of MEF over a working example.
31 Oct 2011 by Jim Crafton
What's the latest scoop in VCF land?
29 Mar 2014 by Paul M Watt
Byte endianness
17 Aug 2010 by Issam Lahlali
C vs C++: Linux analysis case
2 Dec 2014 by Vidyasagar Machupalli
C#, Web API: HTTP GET with a Request Body
19 Apr 2014 by Alex Turok
It is difficult for me to imagine a program that doesn't deal with collections of some type – all our applications do proliferate with Arrays, Lists HashSets, DataTables and dozens of others. When writing code in C# the first tool I consider when faced with a collection is LINQ.
18 May 2014 by Paul M Watt
C++ header
22 Nov 2013 by pi19404
This article tells us how to grant access to its non public members by the use of friend mechanism.
23 Nov 2013 by pi19404
This article describes basic concepts of C++ const and volatile type qualifiers.
8 Oct 2013 by David Corne
The digraphs I am writing about are sequences of characters which act as a stand in for other characters.
17 Apr 2013 by Bartlomiej Filipek
Experiments about compilation times and file structure in C++, using GCC, MinGW, Visual Studio.
25 Nov 2013 by pi19404
This article describes basic concepts of C++ Inheritance mechanism.
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 2012 by Sebastian Krysmanski
C++ references and inheritance
25 Nov 2013 by pi19404
This article describes basic concepts of C++ Storage Access Specifiers.
3 Jan 2016 by Bartlomiej Filipek
Maybe I’ll be boring with this note, but again I need to write that this was another good year for C++! Read my report from 2015.
2 Sep 2014 by BrainlessLabs.com
C++11 Constructors and Copy Assignment – Part 2
9 Sep 2014 by BrainlessLabs.com
In this article, we will discuss the move semantics for C++.
7 Oct 2012 by Marius Bancila
C++ 11 non-member begin() and end()
21 Jun 2015 by Paul M Watt
Rvalue references were introduced with C++11, and they are used to implement move semantics and perfect-forwarding. Both of these techniques are ways to eliminate copies of data parameters for efficiency. There is much confusion around this new feature that uses the && operator, because its meaning