15,922,015 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Everything / STL
Artificial Intelligence
Artificial Intelligence
Neural Networks
Machine Learning
Deep Learning
ML.Net
Big Data
Data Science
Tensorflow
ChatGPT
Internet of Things
Internet of Things
Arduino
Edge Device
Raspberry-Pi
Wearables
IoT Edge
Industrial IoT
DevOps
DevOps
Agile
Automation
Continuous Build
Continuous Delivery
Continuous Deployment
Continuous Integration
Deployment
Git
Installation
Integration Testing
Load Testing
Quality Assurance
TFS
Unit Testing
Testing
Containers
Containers
Docker
Kubernetes
Virtual Machine
High Performance Computing
High Performance Computing
GPU
Parallel Processing
Parallelization
Vectorization
Hosted Services
Hosted Services
AWS
Cordova
ExtJS
Google Cloud
Microservices
PhoneGap
Serverless
Storage
Web Hosting
WordPress
Azure
Security
Security
Blockchain
Cryptography
Encryption
Identity
Identity Server
Web Development
Web Development
Blazor
CSS3
Flask
HTML5
Kestrel
LESS
Nginx
Node.js
React
SCSS
Spring
Vue.js
ASP.NET
CSS
Apache
HTML
IIS
XHTML
Mobile Apps
Mobile Apps
Flutter
Ionic
iOS
Nativescript
React Native
Xamarin
Windows Mobile
Android
Desktop Programming
Desktop Programming
Cocoa
Electron
QT
Universal Windows Platform
X11
Windows Forms
ATL
MFC
Swing
Win32
WTL
WPF
XAML
System
Database Development
Database Development
Data Visualization
Elasticsearch
Lucene
MariaDB
MongoDB
NoSQL
PostgreSQL
Redis
MySQL
SQL Server
Productivity Apps and Services
Productivity Apps and Services
LibreOffice
OpenOffice
Sharepoint
Team Communication Tools
Biztalk
Microsoft Office
SAP
Game Development
Game Development
Doom
Kinect
Playstation 4
Playstation 5
Unity
Unreal
XBox
Multimedia
Multimedia
Audio
Image Processing
Video
Audio Video
DirectX
GDI
GDI+
OpenGL
General Programming
General Programming
Algorithms
Compression
Computational Geometry
Emulation
Exceptions
File
Internet
Localization
Memory Management
Optimization
Parser
Performance
Regular Expressions
Sorting
State Machines
Architecture
Design / Graphics
Printing
String
Threads
Usability
Programming Languages
Programming Languages
ASM
Bash
Basic
COBOL
Dart
Go
Haskell
Kotlin
Lua
Pascal
R
Razor
Rust
Scala
Swift
Typescript
Objective C
Visual Basic
VBScript
C++
C#
F#
FORTRAN
Java
Javascript
Perl
Python
Ruby
SQL
PHP
PowerShell
XML
Submit your article
STL
STL
Great Reads
Pretty Good Initialization Library
by
Thorsten Ottosen
Are you tired of filling data manually into STL containers? With the Initialization Library it gets a lot easier.
CppEvent - How to Implement Events using Standard C++
by
Shmuel Zang
This article shows how we can implement a thread-safe events (similar to .
NET events) mechanism using the standard C++ library.
NTP/
SNTP v4/
v3 Server/
Client C++
by
JadBenAutho
Efficient and standalone library for NTP server/
client utilizing pure C++
Windows 7 Goodies in C++: Adding Custom Tasks to Jump Lists
by
Michael Dunn
Create custom tasks in your app's jump list on Windows 7
Latest Articles
NTP/
SNTP v4/
v3 Server/
Client C++
by
JadBenAutho
Efficient and standalone library for NTP server/
client utilizing pure C++
Array-Based Memory Pool and Allocator
by
Vadim Stadnik
Simple and useful alternative to traditional memory pool
LINQ and Performance
by
Steffen Ploetz
Is LINQ the right technology for processing large amounts of data in runtime-relevant environments?
Cajoling std::chrono Operations to Link On the Teensy platform
by
honey the codewitch
std::chrono doesn't work on the Teensy? Oh no! Here's how to fix it.
All Articles
Article
Project
Technical Blog
Tip/Trick
Video
Reference
Asset
top
Sort by Score
Title
Updated
Author
Score
STL
Converting ANSI to Unicode and back
15 May 2011 by
Doc Lobster
String conversion using the C++ Standard Library only
C++
STL
Unicode
Cajoling std::chrono Operations to Link On the Teensy platform
24 Aug 2022 by
honey the codewitch
std::chrono doesn't work on the Teensy? Oh no! Here's how to fix it.
C++
STL
IoT
time
The heck of vector of bool specialization
5 Feb 2012 by
Lakamraju Raghuram
A glance around vector of bool-type
C++
STL
A Progress Indicator for the Boost Test Library
20 Mar 2013 by
cocaf
How to show progress in a Boost test application.
C++
Linux
Win2008
Windows
STL
Dev
Boost.Test
Get Integral Type By Size, Switch By Type ID
18 Sep 2015 by
Shvetsov Evgeniy
Type tricks (above described and other)
C++11
C++
STL
Design
templates
Parsing Command Line Options
21 Mar 2019 by
Martin Vorbrodt
Parsing Command Line Options
C++
Boost
STL
Converting ANSI to Unicode and Back
19 May 2011 by
Doc Lobster
C++
STL
VS2008
Unicode
How to Use parallel_for_each
15 Mar 2012 by
Dharmateja Challa
Using parallel_for_each which is part of Parallel Pattern Library ( PPL )
VC10.0
C++
Windows
STL
Dev
parallel
MetaEncrypt
11 Jul 2012 by
lagos_fernando
A C++ template to encrypt strings at compile time with template metaprogramming.
C++
STL
Dev
shared_ptr and the class factory
9 Aug 2012 by
mzdude
shared_ptr and the class factory
C++
STL
STL sortings as marathon illustrations
16 Dec 2012 by
Basil_2
How to choose an STL sorting algorithm.
C++
STL
Dev
Architect
sorting
Execute Member Function If It Is Present
12 Sep 2015 by
Shvetsov Evgeniy
Using C++ templates? Wish your template algorithm will be versatile and ready to work with the classes, which do not fully support the required interface? Want more functional programming with C++? Get it now!
C++11
C++
STL
Design
templates
polymorphism
algorithm
Memory Dump to outstream
4 Apr 2018 by
Orjan Westin
Function and supporting class to write a memory dump with hex values and characters to an output stream
C++
STL
HPC Template Library, A Supplement to the STL
15 Dec 2017 by
trident99
The HPC Template Library is a supplement to the Standard Template Library providing threadsafe containers.
HTML
C++
Windows
Visual-Studio
STL
VS2013
VS2008
Dev
HPC
parallel
CalcStar: A C++ Math Expression Evaluator
14 Jan 2017 by
trident99
CalcStar is an expandable, fast C++ function evaluator that gives the user the same computational power as a scientific calculator.
HTML
C++
Windows
STL
VS2013
VS2008
Dev
Read user input or Enter
15 Nov 2013 by
Orjan Westin
Reading an input of any type, or simply enter, from the command line
VC7.0
VC7.1
VC8.0
C++
VC6
STL
Dev
terminal
Sci-Fi Plot Compiler
19 Feb 2019 by
steveb
A simple Sci-Fi plot compiler
C++
Linux
Windows
STL
Convert a Binary File to a Hex Encoded Text File
5 Dec 2014 by
PJ Arends
A small command line utility to convert a binary file to hex encoded text file
C++
Windows
STL
std::function: template based function pointer /object
3 Jun 2013 by
ThatsAlok
This tip will demonstrate std::function in various avatars, with function pointers and std::bind.
C++11
C++
Windows
STL
Dev
lvalue and rvalue Applied for 2-dimension Array Class Definition
5 Oct 2015 by
ratah_
This tip discusses about a solution to allow us to use any class as a C-like 2-dimension array.
HTML
C++
Linux
Windows
STL
Dev
Architect
An Efficient String to Unsigned int ID Struct
22 Jun 2022 by
Stephane Capo
C++ optimization for map using string key among others
Objective-C
C++
STL
optimization
Improving on shared_ptr
15 Jun 2012 by
AlexZakharenko
A more efficient way to create objects for usage with shared_ptr
C++
Boost
STL
XML* (or XMLStar), a C++ STL Based XML Serialization Engine
6 May 2013 by
trident99
An STL based simple XML serialization and de-serialization engine
VC9.0
C++
Win7
Windows
Visual-Studio
STL
VS2013
VS2008
Dev
programming
Generate a Parameterized Random Char Sequence
15 Sep 2015 by
Shvetsov Evgeniy
How to generate a random sequence of chars with the specified parameters (e.g., length, char sets, char count per set, etc.)
C++11
C++
STL
algorithm
random
string
GT: A C++ Graphical User Interface Library and System
13 Feb 2017 by
trident99
GT is a compact, efficient, and customizable graphical user interface (GUI) library for the Windows environment.
C
HTML
C++
Windows
GDI
GDI+
STL
Dev
Design
Architect
Python-like Enumeration in C++11
23 Oct 2015 by
schollii
Classes that provide simple Pythonic enumeration of STL container items using range-for loop in C++11
C++
STL
Dev
templates
Serialize Data to XML
14 Mar 2019 by
Martin Vorbrodt
How to serialize data to XML
XML
C++
Boost
STL
containers
Complex Math Library for C# and VB.NET
15 Dec 2002 by
Karl Tarbet
Complex math library for C# and VB.NET
C#
VB
C++
Windows
.NET
.NET1.0
STL
Visual-Studio
Dev
STL: Amazing Speed Differences between std::vector and std::set (Observed with an UndoRedoAction).
2 Jun 2021 by
Steffen Ploetz
Why replacing std::vector with std::set sped up my UndoRedoAction class by about 20x
C++
STL
C++ & STL: Reading a text file into a collection with little code
12 Apr 2011 by
CalicoSkies
How to use istream_iterator and the copy algorithm to populate an STL collection from a text file with very little code
C++
STL
collections