Click here to Skip to main content
16,019,414 members

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.88

Programming Languages
C#
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.
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
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
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++
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.
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
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)
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
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.
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#
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.
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