Click here to Skip to main content
15,867,964 members
This competition has ended

Best C++ article of October 2012

Contribute to CodeProject and you'll automatically be in the running for a monthly prize!

Each month at CodeProject we gather together the best of the articles submitted the previous month and ask our readers to choose the best of the best. Entry is automatic - just submit you articke and we'll do the rest.

Check out the submission guidelines for information on posting articles.

Current Entries

Articles that match the contest criteria are automatically entered.

Please Sign up or sign in to vote.
1 May 2014codestarman
X86/ARM emulator written using C++ and assembler for the .NET environment.
Please Sign up or sign in to vote.
15 Oct 2012ashcairo
How to use OpenGL and friends to write an app that targets mobile and desktop platforms.
Please Sign up or sign in to vote.
7 Oct 2012Marius Bancila
C++ 11 non-member begin() and end()
Please Sign up or sign in to vote.
15 Oct 2012Marius Bancila
I will show how to provide keyboard input for WPF controls hosted in a Win32 applications.
Please Sign up or sign in to vote.
5 Nov 2019Aaron McGrath
Nimbus is a casual arcade/puzzle and strategy game, currently in development and in final beta stages for touch devices.
Please Sign up or sign in to vote.
4 Oct 2012Ritesh_Singh
C++ code to connect/access DB2 database using DB2 call level interface(CLI)
Please Sign up or sign in to vote.
12 Oct 2012Issam Lahlali
In this article, we will discover the power of Clang's design that can help you to develop many kinds of tools.
Please Sign up or sign in to vote.
22 Jan 2013kennethman
Hide data inside the zip structure of any zip-based file.
Please Sign up or sign in to vote.
30 Oct 2012Kosta Cherry
Unique identifier for the class
Please Sign up or sign in to vote.
1 Oct 2012Jason N. Gaylord
Have you ever noticed an exception being thrown by your application stating something like the following:System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: #4.x.2 Too many messages for this sessionThis has been an issue since early versions o
Please Sign up or sign in to vote.
1 Oct 2012hjgode
This small tool enables you to use Function keys within Internet Explorer Mobile (IEM) web sites.
Please Sign up or sign in to vote.
2 Oct 2012Anuraj Parameswaran
A very simple and lightweight collaboration white board using HTML5 canvas API, JQuery and SignalR
Please Sign up or sign in to vote.
18 Oct 2012Issam Lahlali
The majority of developers have already heard about design patterns, GOF(Gang Of Four) patterns are the most popularized, and each developer has his way to learn them , we can enumerate: Reading a book or a magazine. From web sites. From a collegue. Doing a training.
Please Sign up or sign in to vote.
21 Oct 2012Orjan Westin
Splitting strings again - strtok redeemed
7 Jan 2013Plantronics
The Plantronics Unified Runtime Engine (Spokes) SDK exposes a set of interfaces for application developers to interact with Plantronics current and future devices.
Please Sign up or sign in to vote.
22 Jan 2013lxdfigo
It is a lib that can process XML documents or JSON by changing a config file.
Please Sign up or sign in to vote.
30 Oct 2012David Corne
This blog post is going to be about the C++ keyword mutable, it is also going to go into using mutable for data caching.
Please Sign up or sign in to vote.
21 Jan 2021Divin Ookken Athappan
Step by step explanation of 3D image rendering using OpenGL
Please Sign up or sign in to vote.
30 Dec 2012Marius Bancila
This article proposes a list of debugging tips for native development with Visual Studio.
Please Sign up or sign in to vote.
3 Jan 2015Espen Harlinn
Benchmark C++ std::vector vs raw arrays, move assignable/constructable & copy assignable/constructable
Please Sign up or sign in to vote.
3 Jan 2015Espen Harlinn
Windows API, menus, C++ lambda expressions, std::enable_shared_from_this
Please Sign up or sign in to vote.
9 Oct 2012Aleksey Vitebskiy
Simple and free Cppcheck integration into Visual Studio.
Please Sign up or sign in to vote.
18 Apr 2013lxdfigo
A 3D Game Based on Ogre, ODE, 3D Max, CEGUI and so on
Please Sign up or sign in to vote.
21 Jun 2013ThatsAlok
Showcase for lambda function in C++
Please Sign up or sign in to vote.
14 Oct 2012abhinavsly
This article describes how to automate Excel 2007 and create charts using a C++ MFC application.
Please Sign up or sign in to vote.
11 Feb 2013chaau
Automatically catalogue images based on modified date
Please Sign up or sign in to vote.
19 Oct 2012Orjan Westin
Simple function to get the text message corresponding to a system error.
Please Sign up or sign in to vote.
15 Oct 2012Cpp For All
finally like clause in C++
Please Sign up or sign in to vote.
31 Jul 2014Jerry.Wang
Instructions about linking EasyHook library statically
Please Sign up or sign in to vote.
24 Oct 2012Sajeesh Payolam
Easly handle double click on a CButton by adding an extera style in PreSubclassWindow.
Please Sign up or sign in to vote.
24 Oct 2013Norbert Schlia
How to use QNetworkAccessManager to download files synchronously from the web.
Please Sign up or sign in to vote.
7 Oct 2012Sergey Vystoropskiy
C++ low level design
Please Sign up or sign in to vote.
30 Oct 2012David Corne
The new auto keyword
Please Sign up or sign in to vote.
27 Oct 2012H.Brydon
Using the Actor Programming Model
Please Sign up or sign in to vote.
29 Oct 2012David Corne
A class to represent valid/invalid data and using the mutable keyword
Please Sign up or sign in to vote.
5 Oct 2012Marius Bancila
How to sort a CTreeCtrl
Please Sign up or sign in to vote.
22 Apr 2013RedZombie125
One man's struggle to organize pictures of Cookie Monster... with code.
Please Sign up or sign in to vote.
13 Oct 2012ed welch
Automatically stepping over STL
Please Sign up or sign in to vote.
29 Oct 2012Jordan Gigov
How to subclass a Windows control with more actual control over message handling.
Please Sign up or sign in to vote.
14 Oct 2012harold@talerian.com
C is still the best language for native-code development.
Please Sign up or sign in to vote.
17 Oct 2012Alexander Schwoch
This is an alternative for "Fault Tolerance for Large Files on Cranky Hardware"
Please Sign up or sign in to vote.
5 Oct 2012Marius Bancila
tarlib – Windows TAR Library
Please Sign up or sign in to vote.
2 Oct 2012Shahriar Iqbal Chowdhury/Galib
Define Principle Single Responsibility Principle (SRP) states that there should never be more than one reason for class to change.
Please Sign up or sign in to vote.
1 Oct 2012Jason N. Gaylord
HTML5 will introduce many new and exciting features including the addition of geolocation. Geolocation allows a device to determine a global position of the device (latitude and longitude), it’s accuracy (horizontal accuracy and vertical accuracy), altitude, and speed.
Please Sign up or sign in to vote.
9 Oct 2012sam stokes
How to perform arithmetic operations on XAML Text
Please Sign up or sign in to vote.
15 Oct 2012RizviHasan
A simple container used in MVC web applications with DI.
Please Sign up or sign in to vote.
29 Oct 2012VentsyV
A solution to the problem.

Current Participants

Those with articles that match the contest criteria are automatically entered.

Software Developer (Senior)
India India
He used to have biography here Smile | :) , but now he will hire someone (for free offcourse Big Grin | :-D ), Who writes his biography on his behalf Smile | :)

He is Great Fan of Mr. Johan Rosengren (his idol),Lim Bio Liong, Nishant S and DavidCrow and Believes that, he will EXCEL in his life by following there steps!!!

He started with Visual C++ then moved to C# then he become language agnostic, you give him task,tell him the language or platform, he we start immediately, if he knows the language otherwise he quickly learn it and start contributing productively

Last but not the least, For good 8 years he was Visual CPP MSMVP!
United Kingdom United Kingdom
23 year-old with a passion for all things Design, primarily game design. Hobbyist with a day job that regrettably, simply pays the bills; having a project to come home to is what keeps me alive; I would love nothing more than to work within the game design industry as there are not many things that bring as much of a smile to my face as devising new ways to entertain and excite the end-user. I want to surpass my own expectations as far as what I am capable of, improving upon skill sets and adding new ones to the roster. Ultimately I love the cycle of Conceptualization, inspiration, application, development and finally, realization turning what were once dreams and ideas into living, breathing, exciting products.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer TerraGo Technologies
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Technical Lead
India India
Working as Tech. Lead

My blog : dotnetthoughts.net.
You can follow me in twitter : @anuraj
Software Developer (Junior) PLAYIR.com
United Kingdom United Kingdom
7 years console games dev.
3 years mobile r&d.
Now working on a real-time design and development tools for the creation of 3D games and apps across mobile and web platforms. (http://playir.com)

Development history
Brian Lara International Cricket 2005 (Codemasters) - PS2/XBox
World Championship Rugby 2005 (Acclaim) - PS2/XBox/PC
50 Cent Blood on the Sand (Activision) - PS3/Xbox 360
F1 2010 (Codemasters) - PS3/Xbox 360/PC
iGrapher (Software is Poetry) - Web/iOS/Android
Stock Market Hero (Software is Poetry) - iOS
Nah Bruv Shisha Sim (Software is Poetry) - iOS
Lambi Islands (France Telecom) - iOS
Female Mosque Finder (Faith Matters) - iOS
Music Gym (Software is Poetry) - iOS
Freedom Square (Software is Poetry) - iOS
FacePlayer (Software is Poetry) - iOS/Android/PC
MyndPlayer (MyndPlay) - iOS
Quran Project (QuranProject.org) - Android
Phone Wars (PLAYIR) - Web/iOS/Android/WP8/PC
Food Fighters (PLAYIR) - Web/iOS/Android/WP8/PC
Tank Legends (PLAYIR) - Web/iOS/Android/WP8
World of Fighters (PLAYIR) - Web/iOS/Android/WP8
Software Developer (Senior)
Australia Australia
Andrew has written his first program on a Z80 in Basic when he was only 13. It was long before first Windows was born. And when Windows 95 came into being Andrew loved the technology straight away. He taught himself C and C++ and became a devoted Windows Software Developer.
Retired
United Kingdom United Kingdom
Chartered ICT Engineer, my career started in mainframe data centre operations, progressed through programming, systems analysis and project management, to Director of ICT Services and Programmes in a large organisation. My speciality was security, and I was a member of the British Computer Society's ICT security standards group whilst leading work on standards for ICT security evaluations.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
United Kingdom United Kingdom
I am a C++ developer with a strong interest in Python, C#, and Qt. I work on a native C++ application which uses COM to call C# in order to use a WPF GUI.

While I develop an application using WPF exclusivly for windows, I am a big linux user. My favourite distro at the moment is Linux Mint, and I love the delights of the command line,.

If you've read something of mine and you enjoyed it, check out my blog.

I am also active on various other sites, listed below.

Coding Sites



  • BitBucket where I keep the majority of my projects.
  • GitHub where I have a few older projects. This includes my current long term project, I'm writing a book about design patterns in python. Find the repository here and blog posts about individual patterns here
  • Stackoverflow I'm not too active on stackoverflow, I'm more of a listener.
  • coderwall and coderbits two profile compilation websites.


Social Sites


Software Developer (Senior) Philips
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer Astronautz
Spain Spain
After working in the software industry for many years, I've started my own games company that specialises in strategy games for mobile platforms.
Architect Sea Surveillance AS
Norway Norway
Chief Architect - Sea Surveillance AS.

Specializing in integrated operations and high performance computing solutions.

I’ve been fooling around with computers since the early eighties, I’ve even done work on CP/M and MP/M.

Wrote my first “real” program on a BBC micro model B based on a series in a magazine at that time. It was fun and I got hooked on this thing called programming ...

A few Highlights:

  • High performance application server development
  • Model Driven Architecture and Code generators
  • Real-Time Distributed Solutions
  • C, C++, C#, Java, TSQL, PL/SQL, Delphi, ActionScript, Perl, Rexx
  • Microsoft SQL Server, Oracle RDBMS, IBM DB2, PostGreSQL
  • AMQP, Apache qpid, RabbitMQ, Microsoft Message Queuing, IBM WebSphereMQ, Oracle TuxidoMQ
  • Oracle WebLogic, IBM WebSphere
  • Corba, COM, DCE, WCF
  • AspenTech InfoPlus.21(IP21), OsiSoft PI


More information about what I do for a living can be found at: harlinn.com or LinkedIn

You can contact me at espen@harlinn.no
Retired None any more
United States United States
I have been writing software since 1969 and having fun doing it. I have The Knack. I have cooked bacon naked. I have worked in academia and the energy business for a little over 30 years. They have retired me now but I still enjoy writing code and trying to keep up to date. I have programmed in close to 100 languages. My current favorite is C++. My current platforms are Windows and linux. My favorite color is blue. I have never owned an umbrella. My sneezes are a registered avalanche hazard with the Colorado Ski Patrol. Women have swooned at my ability to recite digits of Pi.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
United States United States
CppDepend lead developer.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Team Leader
China China
Jerry is from China. He was captivated by computer programming since 13 years old when first time played with Q-Basic.



  • Windows / Linux & C++
  • iOS & Obj-C
  • .Net & C#
  • Flex/Flash & ActionScript
  • HTML / CSS / Javascript
  • Gaming Server programming / video, audio processing / image & graphics


Contact: vcer(at)qq.com
Chinese Blog: http://blog.csdn.net/wangjia184
Bulgaria Bulgaria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Student Institute of Software, Chinese Academy of Sciences
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect Visma Software
Romania Romania
Marius Bancila is the author of Modern C++ Programming Cookbook and The Modern C++ Challenge. He has been a Microsoft MVP since 2006, initially for VC++ and nowadays for Development technologies. He works as a system architect for Visma, a Norwegian-based company. He works with various technologies, both managed and unmanaged, for desktop, cloud, and mobile, mainly developing with VC++ and VC#. He keeps a blog at http://www.mariusbancila.ro/blog, focused on Windows programming. You can follow Marius on Twitter at @mariusbancila.
Software Developer (Senior) NDT Systems & Services
Germany Germany
I worked as freelancer for 14 years, now I am employed by NDT Systems & Services GmbH, a company in ultrasonic non destructive testing business.
Software Developer (Senior)
Sweden Sweden
Orjan has worked as a professional developer - in Sweden and England - since 1993, using a range of languages (C++, Pascal, Delphi, C, C#, Visual Basic, Python and assemblers), but tends to return to C++.
United States United States
Today’s smart devices and applications have untapped potential in the realm of context-aware computing. Plantronics is making it possible for its audio devices to deliver contextual information to a range of applications through Plantronics headsets. The Plantronics Spokes SDK allows developers to create a range of business applications that will have the power to change the way we communicate and collaborate.

Please check out our DevZone for more info on the Spokes SDK:
http://developer.plantronics.com/community/devzone
United States United States
But I don't want to!!!
Software Developer (Senior) Nihilent Technologies Pvt Ltd
South Africa South Africa
I am working with Nihilent Technologies Pvt Ltd.I have worked on Banking and Finance domain, mainly in Cash Management and Repo Trading.
Technologies:-
My technological forte is VC++, C++, Win32, MFC, ATL/COM, C#.NET Windows Application, C, WebSphere MQ and DB2.
Specialties
Domain:-
BFS (Cash Management and Repo Trading)
Technologies:-
C, C++, VC++, Win32, MFC, ATL/COM, WebSphere MQ, DB2
Software Developer
Sweden Sweden
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
Auto-recovered
Instructor / Trainer Microsoft
United States United States
Sam Stokes works for Microsoft as a technology evangelist and is focused on working with colleges, students and professors.
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Oracle
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Chief Technology Officer
Bangladesh Bangladesh
I am a Software Engineer and Microsoft .NET technology enthusiast. Professionally I worked on several business domains and on diverse platforms. I love to learn and share new .net technology and my experience I gather in my engineering career. You can find me from here

Personal Site
Personal Blog
FB MS enthusiasts group
About Me
Software Developer
United States United States
I've been developing software for about 5 years now, specializing mostly in industrial and scientific programming. I'm experienced in C/C++ and C# both on Windows and Linux. I'm also fairly experienced in SQL as well.
You must sign in to participate in this contest.
This contest has ended.
1 Oct - 31 Oct 2012