16,019,414 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 .NET 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
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
Articles by WebBiscuit (Articles: 2, Technical Blogs: 8, Tip/Trick: 1)
Articles: 2, Technical Blogs: 8, Tip/Trick: 1
Articles
Technical Blogs
Tips and Tricks
Reference Articles
Projects
Average article rating: 4.88
Programming Languages
C#
Design Patterns Part 1 - The Strategy Pattern
17 Jan 2010 Updated:
17 Jan 2010
Rating: 4.96/5 Votes: 82 Popularity: 9.46
Licence: CPOL Views: 143,597
Bookmarked: 174
Downloaded: 0
Please
Sign up or sign in
to vote.
An article exploring the Strategy Pattern as part of the Design Patterns series. We look at an example using MD5/SHA256 hashing algorithms for strings.
Design Patterns Part 2 - The Factory Pattern
8 Feb 2010 Updated:
8 Feb 2010
Rating: 4.80/5 Votes: 74 Popularity: 8.89
Licence: CPOL Views: 132,854
Bookmarked: 153
Downloaded: 1,193
Please
Sign up or sign in
to vote.
The second part in WebBiscuit's design pattern series, this one examining the factory pattern. We look at an example of coping with ever-changing requirements by programming to interfaces and allowing the factory pattern to decide on the implementation.
Average blogs rating: 3.99
Desktop Programming
Win32
Your ADO is Broken [Technical Blog]
13 Jul 2011 Updated:
17 Jul 2011
Rating: 4.83/5 Votes: 14 Popularity: 5.53
Licence: CPOL Views: 78,068
Bookmarked: 16
Downloaded: 0
Please
Sign up or sign in
to vote.
Microsoft has violated the holy rules of COM and broken their msado15.dll. The violation occurs after the installation of Windows 7 Service Pack 1 (version 6.1.7601.17514).
Mobile Apps
An Introduction to Three VC++ Macros: How They Came To Be [Technical Blog]
25 Nov 2011 Updated:
7 Dec 2011
Rating: 0.00/5 Votes: 0 Popularity: 0.00
Licence: CPOL Views: 26,852
Bookmarked: 3
Downloaded: 0
Please
Sign up or sign in
to vote.
An introduction to three VC++ Macros: How they came to be
Programming Languages
C++
The Resource in RAII [Technical Blog]
3 Jul 2010 Updated:
3 Jul 2010
Rating: 0.00/5 Votes: 0 Popularity: 0.00
Licence: CPOL Views: 7,461
Bookmarked: 2
Downloaded: 0
Please
Sign up or sign in
to vote.
So far we have concentrated on the 'AII!' part of RAII, so now let's look at the important bit, the R, the Resource.
Base64 Encoder and Boost [Technical Blog]
3 Apr 2012 Updated:
3 Apr 2012
Rating: 0.00/5 Votes: 0 Popularity: 0.00
Licence: CPOL Views: 33,198
Bookmarked: 4
Downloaded: 0
Please
Sign up or sign in
to vote.
Base64 Encoder and Boost
Visual Basic
A Macro to Flip Between the Source and Header File (and Back Again) [Technical Blog]
4 Dec 2011 Updated:
5 Dec 2011
Rating: 4.00/5 Votes: 1 Popularity: 0.00
Licence: CPOL Views: 14,031
Bookmarked: 3
Downloaded: 30
Please
Sign up or sign in
to vote.
A macro to flip between the source and header file (and back again)
A Macro to Create a C++ Implementation from a Header Declaration [Technical Blog]
17 Dec 2011 Updated:
19 Dec 2011
Rating: 0.00/5 Votes: 0 Popularity: 0.00
Licence: CPOL Views: 14,522
Bookmarked: 3
Downloaded: 48
Please
Sign up or sign in
to vote.
From the header declaration, this macro opens up the .cpp file and creates the skeleton so you can begin to add the implementation. This makes adding functions a breeze, so now there really is no excuse for having horribly unfactored code.
Visual C++ 10.0
No RAII to copy [Technical Blog]
20 Jun 2010 Updated:
20 Jun 2010
Rating: 3.33/5 Votes: 3 Popularity: 1.59
Licence: CPOL Views: 13,471
Bookmarked: 4
Downloaded: 0
Please
Sign up or sign in
to vote.
A hidden danger of wrapping using RAII rears its head when we start copying the object around. Let's look at why and what we can do.
Getting in the RAII [Technical Blog]
17 Jun 2010 Updated:
17 Jun 2010
Rating: 3.80/5 Votes: 4 Popularity: 2.29
Licence: CPOL Views: 10,701
Bookmarked: 6
Downloaded: 0
Please
Sign up or sign in
to vote.
Looking at a simple MIDI handle wrapping class
Average tips rating: 3.00
C#
Swaping values of two variable without temporary variable [Tip/Trick]
17 Mar 2010 Updated:
17 Mar 2010
Rating: 3.00/5 Votes: 2 Popularity: 0.90
Licence: CPOL Views: 6,310
Bookmarked: 1
Downloaded: 0
Please
Sign up or sign in
to vote.
There is also InterlockedExchange (or your operating system's equivalent).long a = 1;long b = 2;b = InterlockedExchange(&a, b);
Average reference rating:
No reference articles have been posted.
Average project rating:
No projects have been posted.
WebBiscuit
Software Developer
Web Biscuit
United Kingdom
At Web Biscuit, you can find software, articles, a good dollop of quality and an unhealthy obsession over biscuits.
Website:
http://www.webbiscuit.co.uk
Twitter Watch:
http://twitter.com/WebBiscuitCoUk