Click here to Skip to main content
15,882,055 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 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.
by Mohammed Faci
How to leverage ChatGPT to Build an Automation Framework using the Page Object Model

All Articles

Sort by Updated

C++ 

17 Jul 2023 by Coral Kashri
Some cases when const keyword in C++ doesn't protect us from modifications at all
20 Jun 2023 by Coral Kashri
CoreC++ talk - experience summarize, and self opinions
22 May 2023 by Coral Kashri
Fold-expressions in extreme cases
12 May 2023 by ToughDev
How to develop PC-speaker MIDI player for IBM PC XT
24 Apr 2023 by Coral Kashri
std::string_view can optimize both performance and code readability in code sections which handle strings, but, it can also lead to UB and memory issues if used incorrectly.
23 Apr 2023 by Coral Kashri
Iterators Customization
22 Apr 2023 by Coral Kashri
C++ investigator
22 Apr 2023 by Coral Kashri
About C++20 Ranges library
22 Apr 2023 by Coral Kashri
How to implement a compile-time Decorator
22 Apr 2023 by Coral Kashri
How to correctly implement design patterns in C++
22 Apr 2023 by Coral Kashri
Hash your conditions in C++
22 Apr 2023 by Coral Kashri
Shared ptr allocations and initializations
22 Apr 2023 by Coral Kashri
Smart memory management
22 Apr 2023 by Coral Kashri
RunTime Reflection in C++
22 Apr 2023 by Coral Kashri
Involves usage example of shared_ptr aliasing constructor, design patterns reflection and factory, metaprogramming, string_view and variant/visit.
22 Apr 2023 by Coral Kashri
More about smart memory management in C++
22 Apr 2023 by Coral Kashri
More about explicit(bool) C++20
22 Apr 2023 by Coral Kashri
Risk Iterators bring with them, and how to prepare for / deal with it
6 Apr 2023 by Tough Developer
How to measure temperature using the dsPIC CTMU
5 Apr 2023 by ToughDev
How to play the classic MS-DOS game - Alley Cat - from your browser
4 Apr 2023 by Tough Developer
How to troubleshoot slow C++ debugging with VS2022
4 Apr 2023 by Tough Developer
Slow Conditional Breakpoints with C++ in VS2022
4 Apr 2023 by Tough Developer
How to emulate EEPROM using Flash Memory on dsPIC33EP512MC502
4 Apr 2023 by ToughDev
Software RTC for dsPIC33EP512MC502
4 Apr 2023 by ToughDev
16-bit Stereo Audio DAC on dsPIC33FJ128GP802
8 Oct 2022 by Shun Huang
Various ways to run and build Python code for those who have C++ background
25 Oct 2021 by Shun Huang
Mutable, Immutable and copy assignment in Python vs. C++
25 Oct 2021 by Shun Huang
Some Python scope rules that are not intuitive for people from a C++ background
10 Oct 2021 by Shun Huang
Introduce Python's way to support polymorphism and duck typing from the concept of C++ polymorphism
26 Sep 2021 by Shun Huang
Introduce Python Property from the concept of C++ Getters and Setters
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.
21 Jul 2021 by aroman
In this post I explore Lattice Boltzmann methods and build a related project
21 Jul 2021 by aroman
The subject of this post is Time-Evolving Block Decimation.
21 Jul 2021 by aroman
In this post I implement a Density Matrix Renormalization Group program.
21 Jul 2021 by aroman
In this article I discuss and make a program about Hartree-Fock.
17 Mar 2021 by aroman
Variational Quantum Monte Carlo for a molecule, using Fokker-Planck/Langevin approach
17 Mar 2021 by aroman
Various simple Computational Physics topics handled in Python
5 Mar 2021 by phillipvoyle
Miniature IOC container
1 Sep 2020 by Jin Vincent Necesario
JavaScript Map object collection
31 Jul 2020 by Chinmoy Mohanty
How to use JSON in an ASP.NET application over a REST service using WebApi
27 May 2020 by Mohammad Nasirifar
My status report while trying to understand why the exact same code Runs 1000s (not kidding) of times slower in Python
27 Jan 2020 by 10xlearner
How to format CMake files
23 Jan 2020 by 10xlearner
Memory Management, more specifically in C++
16 Jan 2020 by 10xlearner
Coding Standard – Code Craft
15 Jan 2020 by Alexander Gutev
This post begins with a description of the State Management Problemand various solutions to it offered by today's programming languages. The final section details the solution provided by version 0.8 of the Tridash programming language.
14 Jan 2020 by 10xlearner
How to check type limits in C++
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
9 Dec 2019 by 10xlearner
In this post, are going to solve the problem called "Like a GIF For Your Yard".
5 Dec 2019 by 10xlearner
A post on how to format CPP, C, JavaScript and other stuff
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".
3 Dec 2019 by thoughts-on-coding
Matrices are a key concept in solving linear equation systems. Efficient implementations of matrices are not only considering computation complexity but also space complexity of the matrix data.
19 Nov 2019 by 10xlearner
Advent of code - Puzzle 16
18 Nov 2019 by Michael Adaixo
Parallelizing ray tracing in C++
15 Nov 2019 by Michael Adaixo
Loading textures - exploring multi-threading in C++
15 Nov 2019 by Michael Adaixo
Continuing to explore multi-threading in C++
15 Nov 2019 by Michael Adaixo
Multi-threading in C++
4 Nov 2019 by 10xlearner
Science for hungry people
15 Oct 2019 by 10xlearner
Reindeer olympics
7 Oct 2019 by 10xlearner
In this post, we are going to solve the problem named "Knights of the Dinner Table".
22 Sep 2019 by 10xlearner
In this new post, we are going to solve the problem named "JSAbacusFramework.io".
16 Sep 2019 by 10xlearner
In this post, we are going to solve the problem named "Corporate Policy".
9 Sep 2019 by 10xlearner
In this post, we are going to solve the problem named "Elves Look, Elves Say".
4 Sep 2019 by 10xlearner
In this post, we are going to solve the problem named "All in a Single Night".
31 Aug 2019 by Alexander Gutev
Another Programming Language?. CodeProjectI recently released version 0.4, the first version that is remotely usable, of Tridash, a programming language I've been working on...
22 Aug 2019 by Bahrudin Hrnjica
Implementation of the LSTM recurrent neural network in CNTK shown in detail
19 Aug 2019 by 10xlearner
Advent of code - Matchsticks
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 "I Was Told There Would Be No Math".
9 Jul 2019 by 10xlearner
In this post, we are going to solve the problem named "Perfectly Spherical Houses in a Vacuum".
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 Jul 2019 by 10xlearner
In this post, we are going to solve the problem named "The Ideal Stocking Stuffer".
15 Apr 2019 by John Bandela
One of the inconveniences of returning multiple values from a function using tuples. While, it is very easy for a function to return multiple values, it is harder for the caller to use them. Here is an example from the write up.
14 Apr 2019 by Martin Vorbrodt
3D Engine, Camera System
10 Apr 2019 by thoughts-on-coding
A short introduction into the modern build system gradle
9 Apr 2019 by Martin Vorbrodt
Multi-hashing
8 Apr 2019 by Martin Vorbrodt
Exception safe assignment operator of resource owning objects
8 Apr 2019 by Martin Vorbrodt
How to hash in the C++ way
26 Mar 2019 by thoughts-on-coding
Introduction into an Automated C++ Build Setup with Jenkins and CMake
21 Mar 2019 by thoughts-on-coding
How can we share and increase software development knowledge in a heterogeneous team? Weekly Knowledge Candy
14 Mar 2019 by Martin Vorbrodt
Memory barriers and thread synchronization
14 Mar 2019 by Martin Vorbrodt
Parallel STL
14 Mar 2019 by thoughts-on-coding
Using pointer to members is sometimes a mighty feature of C++. In this post you see a way of how to use them in STL algorithms.
14 Mar 2019 by thoughts-on-coding
It is important to think twice before trusting a tool blindly.
13 Mar 2019 by thoughts-on-coding
I thought it would be a very nice idea to start my blog with a small project I wanted to do since a long time. A small tool/solver of the n-body-problem. It’s not just only the interest of solving a challenging mathematical problem with modern C++.
3 Jan 2019 by Ryan Peden
How JavaScript arrays work under the hood
15 Sep 2018 by ashish__shukla
What is Python? Python is a general purpose,interpreted and high-level programming language.It is object-oriented and dynamically typed programming language.Dynamically typed means that variables are not required to be declared before using them.Instead you directly assign value to a variable.
20 May 2018 by John M. Dlugosz
Here is the real answer to the FizzBuzz interview question
17 May 2018 by John M. Dlugosz
“Know your libraries!” You may already have the code you need.
17 May 2018 by John M. Dlugosz
“Whither exception handling?” We have come full circle.
9 May 2018 by Bartlomiej Filipek
. There are many situations where you need to express that something is “optional” - an object that might contain a value or not. You have several options to implement such case, but with C++17 there’s probably the most helpful way: std::optional..
2 Feb 2018 by Chris Boss
The elusive Control Spy utility is a WIN32 programmers friend. Control Spy is a unique set of examples of how the common controls work when writing software using the WIN32 API. The last version I personally downloaded was the 2.
30 Jan 2018 by BC3Tech
Disney's new Circle internet parental control service provides good feature on its free tier that can be enhanced with other services. Here's how you can use IFTTT to schedule the internet to turn on and off for your entire household or just specific devices in your household... CodeProject -->...
9 Dec 2017 by John Bandela
Easy Binary Compatible Interfaces Across Compilers in C++ - sneak preview
17 Oct 2017 by Eric Z (Jing)
I list various array-and-pointer-problems I have heard or encountered.
10 Oct 2017 by Dave Kerr
In this article, I'll show you how you can use the shell as an efficient tool to compliment how you use the clipboard.
28 Sep 2017 by Sacha Barber
Finishing the 'view rating' page
29 Aug 2017 by User 1043264
How to use Razor Pages in ASP.NET Core 2.0. Continue reading
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.