Click here to Skip to main content
14,271,759 members

Best C++ article of September 2011

This competition has ended

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.

14 Sep 2011
Mauro Leggieri
1 alternative  
10 Sep 2011
stfairy
Learning Poco: GET with HTTP
8 Sep 2011
hjgode
How to start an application by just hitting some keys in sequence? The answer: Just use a keyboard hook.
11 Sep 2011
stfairy
In this tutorial, we will write a simple HTTP server by using useful components provided by Poco
15 Sep 2011
Mukit, Ataul
This tip shows you how to convert the dimension values in the .rc file of a dialog into pixels
14 Sep 2011
stfairy
A simple utility program for listing directories recursively
19 Sep 2011
Doug 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.
18 Sep 2011
stfairy
In this tutorial, we will zip files into a single archive file by using Poco::Zip::Compress.
9 Sep 2011
Paul M Watt
With respect to Image Composition, your imagination is your only limit.
22 Sep 2011
Adnan Boz
Massively Parallel Random Nunber Generation using CUDA C, Thrust and C#
4 Sep 2011
Kirill Osipov
A step-by-step illustration of a minimalistic pattern for implementing a series of COM interfaces with little code
28 Jul 2015
Oliver Kohl D.Sc.
This article presents you some capabilities of PowerShell like the usage of .NET Framework 4.0 and .NET threading.
11 Sep 2011
Michael Dunn
This article demonstrates new button and menu features of the Ribbon
9 Sep 2011
Ugochukwu Chimbo Ejikeme
Genetic Algorithm - A 'Walt Disney' Introduction
2 Oct 2011
Mihai MOGA
2 alternatives  
How to center window in WIN32
29 Sep 2011
Nish Nishant
The fundamentals of using Visual C++ to consume and create WinRT objects
22 Aug 2016
Sanmayce
Tuned function for searching a needle in a haystack
23 Jul 2015
Dmitriy Ryajov
A technique to use templates and class level new and delete overrides to handle object allocations.
14 Sep 2011
Francis Xavier Pulikotil
A single unified interface for creating (almost) any kind of object in C++.
13 Sep 2011
Dave Kerr
Performance comparison of P/Invoke versus a C++/CLI wrapper.
25 Oct 2011
Uwe_Sieber
Demonstrates how to open a storage volume and do some interesting things with it.
15 Sep 2011
abhishek.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
2 Sep 2011
Alexander Bessonov
A simple high-level IPC library with ability to use native C++ interfaces.
28 Sep 2011
Eric Xue (brokensnow)
Had a task yesterday to restore a few SharePoint 2010 site collection Production databases back to the Development environment.
9 Sep 2011
Ian Bell, #2
A sample C++ project that uses DES to combine two or more AVI files.
1 Feb 2015
Paul Heil
A quick demonstration of how boost.phoenix makes a messy boost.bind call much easier to read
26 Sep 2011
Manning
A Chapter excerpt from Rails 3 in Action
13 Sep 2011
stfairy
In this tutorial, we will write a very simple example for getting started with threads.
12 Sep 2011
stfairy
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.
23 Sep 2011
Charles 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);}
16 Oct 2012
Mahdi Nejadsahebi
This program protects and locks every window in Windows, and encrypts files without any problem.
1 Sep 2011
Jose 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; ...
2 Sep 2011
Manning
A Chapter excerpt from Objective-C Fundamentals
9 Sep 2011
Addison-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
22 Sep 2011
Lior_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.

Current Participants

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

No Biography provided
Addison-Wesley
United States United States
No Biography provided
Adnan Boz
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.
Alexander Bessonov
Software Developer (Senior) HHD Software Ltd.
Russian Federation Russian Federation
No Biography provided
Charles Kludge
United States United States
No Biography provided
Dave Kerr
Software Developer
United Kingdom United Kingdom
Follow my blog at www.dwmkerr.com and find out about my charity at www.childrenshomesnepal.org.
Dmitriy Ryajov
Software Developer (Senior)
Costa Rica Costa Rica
No Biography provided
Doug Binks
Canada Canada
Senior Application Engineer, Intel Visual Computing
Eric Xue (brokensnow)
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
Francis Xavier Pulikotil
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.
hjgode
Germany Germany
No Biography provided
Ian Bell, #2
Retired
Canada Canada
No Biography provided
Jose David Pujo
Software Developer (Senior) Freelancer
Spain Spain
No Biography provided
Kirill Osipov
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.
Lior_Cohen
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.
Mahdi Nejadsahebi
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
Manning
United States United States
No Biography provided
Mauro Leggieri
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
Michael Dunn
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.
Mihai MOGA
Software Developer (Senior) Printec Group Romania SRL
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, Flash).

If you like my articles, please visit my website: https://www.mihaimoga.com/
Mukit, Ataul
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1
Nish Nishant
United States United States
Nish Nishant is a Principal Software Architect based out of Columbus, Ohio. He has over 17 years of software industry experience in various roles including Lead Software Architect, Principal Software Engineer, and Product Manager. Nish was a Microsoft Visual C++ MVP between 2002 and 2015.

Nish is an industry acknowledged expert in the Microsoft technology stack. He authored C++/CLI in Action for Manning Publications in 2005, and had previously 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 vastly experienced in team management, mentoring teams, and directing all stages of software development.

Contact Nish : If you are interested in hiring Nish as a consultant, you can reach him via his google email id voidnish.

Company Website : www.ganymedesoftwaresolutions.com
Oliver Kohl D.Sc.
Oliver Kohl D.Sc.
Austria Austria
http://www.kohl.bz
Paul Heil
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
Paul M Watt
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.
Sanmayce
Other
Bulgaria Bulgaria
A Bulgarian old boy interested in search techniques, nothing special.
stfairy
Student Shanghai Jiao Tong University
China China
No Biography provided
Ugochukwu Chimbo Ejikeme
Software Developer
Germany Germany
No Biography provided
Uwe_Sieber
Software Developer
Germany Germany
No Biography provided
You must sign in to participate in this contest.
This contest has ended.
1 Sep - 30 Sep 2011