Click here to Skip to main content

Articles by WebBiscuit (Articles: 2, Technical Blogs: 8, Tip/Trick: 1)

Articles: 2, Technical Blogs: 8, Tip/Trick: 1

RSS Feed

Average article rating: 4.84

Design and Architecture
Design Patterns
Posted: 17 Jan 2010   Updated: 17 Jan 2010   Views: 64,608   Rating: 4.96/5    Votes: 72   Popularity: 9.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 150   Downloaded: 0
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.
Posted: 8 Feb 2010   Updated: 8 Feb 2010   Views: 61,809   Rating: 4.72/5    Votes: 58   Popularity: 8.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 123   Downloaded: 785
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

Audio and Video
Audio
Posted: 20 Jun 2010   Updated: 20 Jun 2010   Views: 6,749   Rating: 3.33/5    Votes: 3   Popularity: 1.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
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.
Posted: 3 Jul 2010   Updated: 3 Jul 2010   Views: 4,648   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
So far we have concentrated on the 'AII!' part of RAII, so now let's look at the important bit, the R, the Resource.
General
Posted: 17 Jun 2010   Updated: 17 Jun 2010   Views: 6,615   Rating: 3.80/5    Votes: 4   Popularity: 2.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Looking at a simple MIDI handle wrapping class
C / C++ Language
Utilities
Posted: 3 Apr 2012   Updated: 3 Apr 2012   Views: 8,275   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Well, I was looking for a Base64 library recently, and I thought, "I know, I bet it is in Boost, I have Boost, and Boost has EVERYTHING." And it turns out that it does! Kind of. But it's a bit odd and sadly incomplete.
COM / COM+
General
Posted: 13 Jul 2011   Updated: 17 Jul 2011   Views: 42,869   Rating: 4.82/5    Votes: 14   Popularity: 5.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
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).
Macros and Add-ins
Macros
Posted: 4 Dec 2011   Updated: 5 Dec 2011   Views: 10,859   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 30
The macro journey begins here, moving a function from a header file into its source file. The first problem presents itself as this: how can I get at the source file from the header file? I have never known why this functionality has not been present in Visual Studio, perhaps it is harder than it.
Posted: 25 Nov 2011   Updated: 7 Dec 2011   Views: 21,017   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
An introduction to three VC++ Macros: How they came to be
Posted: 17 Dec 2011   Updated: 19 Dec 2011   Views: 9,837   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 48
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.

Average tips rating: 3.00

Programming Tips
General
Posted: 17 Mar 2010   Updated: 17 Mar 2010   Views: 2,016   Rating: 3.00/5    Votes: 2   Popularity: 0.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
There is also InterlockedExchange (or your operating system's equivalent).long a = 1;long b = 2;b = InterlockedExchange(&a, b);
No reference articles have been posted.

WebBiscuit
Software Developer Web Biscuit
United Kingdom 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


Advertise | Privacy | Mobile
Web02 | 2.8.140821.2 | Last Updated 23 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid