Click here to Skip to main content
15,946,342 members
This competition has ended

Best C++ article of September 2011

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.
14 Sep 2011Mauro Leggieri 1 alternative  
Please Sign up or sign in to vote.
10 Sep 2011stfairy
Learning Poco: GET with HTTP
Please Sign up or sign in to vote.
11 Sep 2011stfairy
In this tutorial, we will write a simple HTTP server by using useful components provided by Poco
19 Sep 2011Doug Binks
Dynamic Resolution Rendering lets developers dynamically vary the resolution of their screen rendering instead of having a static resolution selection. The end result: Stable, high frame rates can be achieved with high-quality GUIs, even on low-end systems. This code sample is free to use.
Please Sign up or sign in to vote.
8 Sep 2011hjgode
How to start an application by just hitting some keys in sequence? The answer: Just use a keyboard hook.
Please Sign up or sign in to vote.
15 Sep 2011Mukit, Ataul
This tip shows you how to convert the dimension values in the .rc file of a dialog into pixels
Please Sign up or sign in to vote.
14 Sep 2011stfairy
A simple utility program for listing directories recursively
Please Sign up or sign in to vote.
18 Sep 2011stfairy
In this tutorial, we will zip files into a single archive file by using Poco::Zip::Compress.
Please Sign up or sign in to vote.
9 Sep 2011Addison-Wesley
This chapter will cover some of the core concepts of object-oriented programming (OOP) and how they apply to both iPhone and Windows Phone 7 programming
Please Sign up or sign in to vote.
1 Sep 2011Jose David Pujo
With SendInput:void SetNumLock (bool active){ BYTE keyState[256]; GetKeyboardState((LPBYTE)&keyState); bool active0= keyState[VK_NUMLOCK] & 1; if (active0!=active) { INPUT inp[2]; ZeroMemory(inp, sizeof(inp)); inp[0].type=INPUT_KEYBOARD; ...
22 Sep 2011Lior_Cohen
This article contains a short description for a novel NI programmer on how to create a simple “Hello World” gesture-based application. It includes links for environment dependences download pages, code sections with explanations and a sample source code.
Please Sign up or sign in to vote.
9 Sep 2011Paul M Watt
With respect to Image Composition, your imagination is your only limit.
Please Sign up or sign in to vote.
22 Sep 2011Adnan Boz
Massively Parallel Random Nunber Generation using CUDA C, Thrust and C#
Please Sign up or sign in to vote.
4 Sep 2011Kirill Osipov
A step-by-step illustration of a minimalistic pattern for implementing a series of COM interfaces with little code
Please Sign up or sign in to vote.
28 Jul 2015Oliver Kohl D.Sc.
This article presents you some capabilities of PowerShell like the usage of .NET Framework 4.0 and .NET threading.
Please Sign up or sign in to vote.
11 Sep 2011Michael Dunn
This article demonstrates new button and menu features of the Ribbon
Please Sign up or sign in to vote.
9 Sep 2011Ugochukwu Chimbo Ejikeme
Genetic Algorithm - A 'Walt Disney' Introduction
Please Sign up or sign in to vote.
2 Oct 2011Ștefan-Mihai MOGA 2 alternatives  
How to center window in WIN32
Please Sign up or sign in to vote.
29 Sep 2011Nish Nishant
The fundamentals of using Visual C++ to consume and create WinRT objects
Please Sign up or sign in to vote.
22 Aug 2016Sanmayce
Tuned function for searching a needle in a haystack
Please Sign up or sign in to vote.
23 Jul 2015Dmitriy Ryajov
A technique to use templates and class level new and delete overrides to handle object allocations.
Please Sign up or sign in to vote.
25 Oct 2011Uwe_Sieber
Demonstrates how to open a storage volume and do some interesting things with it.
Please Sign up or sign in to vote.
14 Sep 2011Francis Xavier Pulikotil
A single unified interface for creating (almost) any kind of object in C++.
Please Sign up or sign in to vote.
13 Sep 2011Dave Kerr
Performance comparison of P/Invoke versus a C++/CLI wrapper.
Please Sign up or sign in to vote.
15 Sep 2011abhishek.biradar
In this project, the displayed device context can be converted to images Using Cimage class, Creating PDF using Haru PDF Library and simple code for printing the Device context
Please Sign up or sign in to vote.
2 Sep 2011Alexander Bessonov
A simple high-level IPC library with ability to use native C++ interfaces.
Please Sign up or sign in to vote.
28 Sep 2011Eric Xue (brokensnow)
Had a task yesterday to restore a few SharePoint 2010 site collection Production databases back to the Development environment.
Please Sign up or sign in to vote.
11 Sep 2011Ger Hayden
This is a working example of three DataGridViews on a windows form where the values on the second and third grid change during execution written using C++/CLI.
Please Sign up or sign in to vote.
9 Sep 2011Ian Bell, #2
A sample C++ project that uses DES to combine two or more AVI files.
Please Sign up or sign in to vote.
1 Feb 2015Paul Heil
A quick demonstration of how boost.phoenix makes a messy boost.bind call much easier to read
Please Sign up or sign in to vote.
26 Sep 2011Manning
A Chapter excerpt from Rails 3 in Action
Please Sign up or sign in to vote.
13 Sep 2011stfairy
In this tutorial, we will write a very simple example for getting started with threads.
Please Sign up or sign in to vote.
12 Sep 2011stfairy
In this tutorial, we will load XML configuration from files ystem by using XMLConfiguration, and access specific configuration items by using methods provided by AbstractConfiguration.
Please Sign up or sign in to vote.
23 Sep 2011Charles Kludge
void CenterWnd(HWND wnd){ RECT r,r1; GetWindowRect(wnd,&r); GetWindowRect(GetDesktopWindow(),&r1); MoveWindow(wnd,((r1.right-r1.left)-(r.right-r.left))/2, ((r1.bottom-r1.top)-(r.bottom-r.top))/2, (r.right-r.left), (r.bottom-r.top),0);}
Please Sign up or sign in to vote.
2 Sep 2011Manning
A Chapter excerpt from Objective-C Fundamentals
Please Sign up or sign in to vote.
16 Oct 2012Mahdi Nejadsahebi
This program protects and locks every window in Windows, and encrypts files without any problem.

Current Participants

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

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
I am an MCAD, MCSD, MCTS, MCPD, MCT and Certified CUDA Programmer.
You can find more technical articles on my blog at http://www.adnanboz.com.
Software Developer (Senior) HHD Software Ltd.
Russian Federation Russian Federation
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.
Software Developer
United Kingdom United Kingdom
Follow my blog at www.dwmkerr.com and find out about my charity at www.childrenshomesnepal.org.
Software Developer (Senior)
Costa Rica Costa Rica
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Canada Canada
Senior Application Engineer, Intel Visual Computing
Architect F-Tech Software
Australia Australia
Eric has more than 10 years’ experience within the IT industry, specialising in designing and implementing solutions using Microsoft technology stack.

He’s currently working with SharePoint 2010/2013, Tableau, OBIEE, QlikView, SAP BusinessObjects Enterprise XI 3.1/XI 4.0, SAP BusinessObjects Dashboards 4.0 (Xcelsius Enterprise 2011), FAST Search 2010 for SharePoint, Dynamics CRM2011/4.0, .NET 3.5/4.0/4.5, Asp.net Ajax, SQL Server 2008R2/2012/2014, SSIS, SSAS, SSRS and DQS.

With a passion for learning cutting-edge technologies and constantly updating his existing skills set, Eric’s project experience covers all area of software consulting including pre-sales, analysis, design and implementation.

You could catch me via linked-in http://au.linkedin.com/in/ericxuesydney or my blog
Software Developer
United States United States
Besides loving spending time with family, Francis Xavier likes to watch sci-fi/fantasy/action/drama movies, listen to music, and play video-games. After being exposed to a few video-games, he developed an interest in computer programming. He currently holds a Bachelor's degree in Computer Applications.
Software Developer
Ireland Ireland
My first program was written in Basic on a Sinclair Spectrum ZX 16K in the summer of '85. Having studied Computer Systems I attempted to break into the world of C but took a wrong turn and got immersed in COBOL!

I looked a C again in 1994 but didnt follow up on it. In 2001 I introduced myself to Visual C++ 6.0 courtesy of Ivor Hortons book, but found the going difficult. I tipped my toe in the .NET water in '05 but the first example I tried in VC++ 2005 express didnt work and allied with the absence of MFC in the express package, I parked that up.

Along the way my career got shunted into software testing

A personal machine change force me to migrate to VS2008 in 2008. The new edition of Ivor Hortons book for VC++ in VS2008 reintroduced me to .NET and I got curious whereupon I went out and acquired Stephen Fraser's "Pro Visual C++/CLI and
the .NET 3.5 Platform". I was hooked!

After 20 years I think I finally found my destination.

But it would take a further 8 years of exile before I was reappointed to a developer role. In that time I migrated to C# and used selenium wedriver (courtesy of Arun Motoori's Selenium By Arun) as the catalyst to finally grab the opportunity.
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Retired
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Freelancer
Spain Spain
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
Russian Federation Russian Federation
Kirill Osipov constantly lives in Petrozavodsk, Russia. He enjoys listening to music, playing the guitar, learning German, and, occasionally, drinking beer and whisky.

He is extremely passionate about software development and has recently realized he can be most creative in this particular field.

He also maintains his part time business at http://www.ko-sw.com.
Israel Israel
Lior Cohen is an Application Developer at PrimeSense. In the past two years, he trained and taught programmers from all over the world how to use OpenNI and PrimeSense technologies.
Iran (Islamic Republic of) Iran (Islamic Republic of)
Have a Good Time

I'm college student in science computer.
i worked the visual basic 2006,visual c++ 2006,2008,2010,
and a bit delphi 2007,html,visual c#.
i like programming and i hope to become a really programmer in the world.
I like sport, specially karate.

always don't forget two things: 1st God ,2nd to Try
good luck,and god with you
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.
Web Developer
Argentina Argentina
My name is Mauro Leggieri. I am 30 year-old, married and have a child.

I am a system engineer (UTN university) and am being programming for more than 20 years from the C64 to the PC and some microcontrollers.

Mostly of my time, I program games for Windows.

Soon, my site http://www.mauroleggieri.com.ar
Software Developer (Senior) VMware
United States United States
Michael lives in sunny Mountain View, California. He started programming with an Apple //e in 4th grade, graduated from UCLA with a math degree in 1994, and immediately landed a job as a QA engineer at Symantec, working on the Norton AntiVirus team. He pretty much taught himself Windows and MFC programming, and in 1999 he designed and coded a new interface for Norton AntiVirus 2000.
Mike has been a a developer at Napster and at his own lil' startup, Zabersoft, a development company he co-founded with offices in Los Angeles and Odense, Denmark. Mike is now a senior engineer at VMware.

He also enjoys his hobbies of playing pinball, bike riding, photography, and Domion on Friday nights (current favorite combo: Village + double Pirate Ship). He would get his own snooker table too if they weren't so darn big! He is also sad that he's forgotten the languages he's studied: French, Mandarin Chinese, and Japanese.

Mike was a VC MVP from 2005 to 2009.
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1
United States United States
Nish Nishant is a technology enthusiast from Columbus, Ohio. He has over 20 years of software industry experience in various roles including Chief Technology Officer, Senior Solution Architect, Lead Software Architect, Principal Software Engineer, and Engineering/Architecture Team Leader. Nish is a 14-time recipient of the Microsoft Visual C++ MVP Award.

Nish authored C++/CLI in Action for Manning Publications in 2005, and co-authored Extending MFC Applications with the .NET Framework for Addison Wesley in 2003. In addition, he has over 140 published technology articles on CodeProject.com and another 250+ blog articles on his WordPress blog. Nish is experienced in technology leadership, solution architecture, software architecture, cloud development (AWS and Azure), REST services, software engineering best practices, CI/CD, mentoring, and directing all stages of software development.

Nish's Technology Blog : voidnish.wordpress.com
CONTECO e.U.
Austria Austria
https://www.conteco.gmbh
Software Developer (Senior) An engineering firm in Cedar Rapids, Iowa
United States United States
I'm also on the MSDN forums
http://social.msdn.microsoft.com/profile/paulh79
Engineer
United States United States
I am a software architect and I have been developing software for nearly two decades. Over the years I have learned to value maintainable solutions first. This has allowed me to adapt my projects to meet the challenges that inevitably appear during development. I use the most beneficial short-term achievements to drive the software I develop towards a long-term vision.

C++ is my strongest language. However, I have also used x86 ASM, ARM ASM, C, C#, JAVA, Python, and JavaScript to solve programming problems. I have worked in a variety of industries throughout my career, which include:
• Manufacturing
• Consumer Products
• Virtualization
• Computer Infrastructure Management
• DoD Contracting

My experience spans these hardware types and operating systems:
• Desktop
o Windows (Full-stack: GUI, Application, Service, Kernel Driver)
o Linux (Application, Daemon)
• Mobile Devices
o Windows CE / Windows Phone
o Linux
• Embedded Devices
o VxWorks (RTOS)
o Greenhills Linux
o Embedded Windows XP

I am a Mentor and frequent contributor to CodeProject.com with tutorial articles that teach others about the inner workings of the Windows APIs.

I am the creator of an open source project on GitHub called Alchemy[^], which is an open-source compile-time data serialization library.

I maintain my own repository and blog at CodeOfTheDamned.com/[^], because code maintenance does not have to be a living hell.
Other
Bulgaria Bulgaria
A Bulgarian old boy interested in search techniques, nothing special.
Software Developer NXP Semiconductors
Romania Romania
My professional background includes knowledge of analyst programmer for Microsoft Visual C++, Microsoft Visual C#, Microsoft Visual Basic, Sun Java, assembly for Intel 80x86 microprocessors, assembly for PIC microcontrollers (produced by Microchip Inc.), relational databases (MySQL, Oracle, SQL Server), concurrent version systems, bug tracking systems, web design (HTML5, CSS3, XML, PHP/MySQL, JavaScript).
Student Shanghai Jiao Tong University
China China
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.
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.
You must sign in to participate in this contest.
This contest has ended.
1 Sep - 30 Sep 2011