Click here to Skip to main content
16,020,261 members
This competition has ended

Best C++ article of March 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.
29 Mar 2012barrd
Fix an exception related to ISupportInitialize.BeginInit and learn why it happens.
Please Sign up or sign in to vote.
5 Mar 2012Mukit, Ataul
This tip shows a very fast algorithm (with some constraints enforced for it to work) to EnsureVisible a row in CGridCtrl by Chris Maunder
Please Sign up or sign in to vote.
25 Mar 2012stoimenpopov
Quicksort is a very elegant general purpose sorting algorithm and every developer should be familiar with its principles.
Please Sign up or sign in to vote.
5 Mar 2012kishore Gaddam
Calling WinRT Component from C++ We have developed a C++ WinRT Component DLL & C#.NET application in the post here Under the hood Part 1 : C++ WinRT Component DLL & C#.NET Metro application we have seen the compiler generated components for making the C# application access the C++ WinRT compone
Please Sign up or sign in to vote.
8 Mar 2012Caleb McElrath
Dispose pattern in C++
Please Sign up or sign in to vote.
9 Mar 2012Grigory Avdyushin
Short description how to create a sexy badge for windows 7 taskbar
Please Sign up or sign in to vote.
10 Mar 2012Mukit, Ataul
How to minimize the possibility of data corruption when exporting a class
Please Sign up or sign in to vote.
15 Mar 2012Dharmateja Challa
Using parallel_for_each which is part of Parallel Pattern Library ( PPL )
Please Sign up or sign in to vote.
19 Mar 2012bovykinmaxim
A token based server, which means that the server and the client will use token exchange as a handshake to confirm that all of the messages were correctly delivered.
Please Sign up or sign in to vote.
19 Mar 2012Mukit, Ataul
sometimes console applications give runtime error when you declare static varialbes, so here is a solution how to deal with it
Please Sign up or sign in to vote.
19 Mar 2012Mukit, Ataul
This tip tells you how to solve the Invalid Address specified to RtlFreeHeap issue
Please Sign up or sign in to vote.
5 Mar 2012li9705
How to call C/C++ from Java Android using CLE
Please Sign up or sign in to vote.
8 Mar 2012kishore Gaddam
C++ WinRT component DLL and C# Metro application
Please Sign up or sign in to vote.
5 Mar 2012kishore Gaddam
Internals of how the application is installed and run – WinRT, Windows 8, C++, C#.NET, Metro
Please Sign up or sign in to vote.
29 Mar 2012hjgode
Mobile Development: AutoHide Windows Mobile Device Center 2
Please Sign up or sign in to vote.
30 Mar 2012Roger Doss
This article describes a technique where an approximation for the partition scheduling problem can be generalized to approximate scheduling for multiprocessor machines where the number of processors is a power of two
Please Sign up or sign in to vote.
14 Mar 2022Andy Bantly
Visualizing the Mandelbrot set using multiple threads of execution
Please Sign up or sign in to vote.
12 Mar 2012Voicent Support
How to make a performance meter that looks like the one in Windows Task Manager
Please Sign up or sign in to vote.
28 Mar 2012Michael Chourdakis
Use COM and plain C++ to add scripting support automatically.
Please Sign up or sign in to vote.
24 Mar 2012Michael Chourdakis
Learn a few of the interesting features in C++11.
Please Sign up or sign in to vote.
21 Mar 2012Philippe Monteil
SurfaceImageSource Manager is a C++ WinRT component making it easy to produce ready-to-use SurfaceImageSource instances, and then use DirectX or Direct2D to define their aspect in C# Metro applications.
Please Sign up or sign in to vote.
19 Apr 2012Ajay Vijayvargiya
Many Windows C++ programmers get confused over what bizarre data type identifiers like TCHAR and LPCTSTR are. Here, in brief, I will try to clear out the fog.
Please Sign up or sign in to vote.
30 Mar 2012Andrew Phillips
There are quite a few fallacies kicking around about how to write good code. This article is an attempt to dispel some of them.
Please Sign up or sign in to vote.
21 Aug 2012KjellKod.cc
Most programming resources are wrong when comparing linked-list to vector. Here you can read and understand how they are wrong and why linked-list is (mostly) to be avoided.
Please Sign up or sign in to vote.
14 Jan 2015Asif Bahrainwala
FFT using DX11 compute shader
Please Sign up or sign in to vote.
27 Apr 2012Corosan
What properties has some proper C++ wrapper class? Let's formalize it for example for Windows registry.
Please Sign up or sign in to vote.
19 Mar 2012Rahul Rajat Singh
Understanding when we could find the Adapter pattern useful and how can we have a rudimentary implementation of the Adapter pattern using C# and C++.
Please Sign up or sign in to vote.
11 Mar 2012AlexTatiyants
Functional programming has been all the rage lately, yet surprisingly few have heard about an intriguing alternative known as Dysfunctional (or FUctional) programming.
Please Sign up or sign in to vote.
5 Sep 2012interopper
How to make a thin-as-possible .NET IEnumerable-wrapper around MFC list classes.
Please Sign up or sign in to vote.
12 Mar 2012Mahmoud Hesham El-Magdoub
Simo Sort a New Sorting algorithm C++ Binary Value Numbers Sort Elements with Low Variance
Please Sign up or sign in to vote.
19 Jun 2013aref.bozorgmehr
How to use a Persian datetime picker and calendar in your applications.
Please Sign up or sign in to vote.
14 Apr 2012Alexis.P
Abstraction of the MFC PropertyGrid component, allowing to easily expose properties, and receive notifications on changes.
Please Sign up or sign in to vote.
14 May 2012valeriyabobko
create COM with no ATL, just C++
Please Sign up or sign in to vote.
18 Mar 2012Asif Bahrainwala
Hull, Domain shader
Please Sign up or sign in to vote.
2 Mar 2012SuperFun21
A general function using MFC that runs a command using CreateProcess(), waits for it to terminate, and returns its ExitCode.
Please Sign up or sign in to vote.
16 Mar 2012Florin Gherghel
How to create a BOTTOMMOST window (Win32 and .NET).
Please Sign up or sign in to vote.
24 Mar 2012Mukit, Ataul
This tip shows how to save a 24 bitmap to a file given filename, pixel data, bitmap width and bitmap height
Please Sign up or sign in to vote.
9 Mar 2012Rahul Rajat Singh
Understanding and implementing the Command Pattern in C++.
Please Sign up or sign in to vote.
22 Mar 2012Vijay Rajanna
How C# is highly distinct from C++

Current Participants

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

Software Developer (Senior)
India India
Started programming with GwBasic back in 1996 (Those lovely days!). Found the hidden talent!

Touched COBOL and Quick Basic for a while.

Finally learned C and C++ entirely on my own, and fell in love with C++, still in love! Began with Turbo C 2.0/3.0, then to VC6 for 4 years! Finally on VC2008/2010.

I enjoy programming, mostly the system programming, but the UI is always on top of MFC! Quite experienced on other environments and platforms, but I prefer Visual C++. Zeal to learn, and to share!
France France
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.
Australia Australia
Andrew has a BSc (1983) from Sydney University in Computer Science and Mathematics. Andrew began programming professionally in C in 1984 and has since used many languages but mainly C, C++, and C#.

Andrew has a particular interest in STL, .Net, and Agile Development. He has written articles on STL for technical journals such as the C/C++ User's Journal.

In 1997 Andrew began using MFC and released the source code for a Windows binary file editor called HexEdit, which was downloaded more than 1 million times. From 2001 there was a shareware version of HexEdit (later called HexEdit Pro). HexEdit has been updated to uses the new MFC (based on BCG) and is once more open source.
Founder
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.
Program Manager Novin Afzar
Iran (Islamic Republic of) Iran (Islamic Republic of)
I was born in 1990 in Ilam
I have been programming since 2005
it has been nearly three years that I have worked at my company
I'm really learning to love
Project I'm working on NOW is Gadgetfa.com
This is a Organisation

19 members
Instructor / Trainer
India India
Hi,
I have been working with computers since my eight grade, programming the ZX Spectrum. I have always had an interest in assembly language and computer theory (and is still the reason for taking tons of online courses), actively code using C/C++ on Windows (using VS) and Linux (using QT).

I also provide training on data structures, algorithms, parallel patterns library , Graphics (DX11), GPGPUs (DX11-CS,AMP) and programming for performance on x86.
Feel free to call me at 0091-9823018914 (UTC +5:30)



(All views expressed here do not reflect the views of my employer).
Software Developer (Senior) SL Corporation
United States United States
Daniel Barr is a Senior Software Engineer at SL Corporation(R) (www.slgms.com). SL Corporation(R) produces a number of monitoring solutions with graphical displays as well as the SL-GMS(R) graphical modeling solution. Daniel has worked as a software engineer since 1983.
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 States United States
Caleb is a software development consultant specialized in creating web solutions for critical business problems. He has a passion for front-end development and helping other developers find their role. He enjoys making development easier to do, easier to learn and easier to improve upon. His days are pleasantly filled with TypeScript, HTML5 and C#.
Software Developer (Senior)
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.
Software Developer (Senior) EMC
India India
I have worked in ESM, Storage and Embedded domains. Mainly taken part in design, coding and maintaining in c/c++ on windows.
As a hobby tinkering with embedded/electronic devices (new found interestSmile | :) )...
Software Developer MPS
Romania Romania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Malaysia Malaysia
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.
Austria Austria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
CEO Astrani Technology Solutions
United States United States
Kishore Babu Gaddam is a Senior Technology Consultant, Technology Evangelist turned Technology Entrepreneur and a regular speaker at national conferences, regional code camps and local user groups with over 14 years of experience in software product development. His experience includes building & managing award-winning software development teams, managing customer relationships, marketing and launching new software products & services. Kishore launched his technology career almost 15 years ago with a Robotics software development startup and has served in multiple roles since including developer, innovation leader, consultant, technology executive and business owner.

A technology specialist in C++, C#, XAML and Azure, he successfully published two applications to Windows store http://bit.ly/WinStoreApp and http://bit.ly/FlagsApp.

Kishore is the author of the popular Microsoft Technologies blog at http://www.kishore1021.wordpress.com/ and his work on Portable Class Library project in Visual Studio 2012– .NET 4.5 was featured on Channel 9 at http://bit.ly/msdnchannel9. Kishore enjoys helping people understand technical concepts that may initially seem complex and perform lot of Research & Development on emerging technologies to help solve some of the toughest customer issues. Kishore spends a lot of time teaching and mentoring developers to learn new technologies and to be better developers. He is a speaker at various code camps around Washington DC area, mainly at Microsoft Technology Center for NOVA code camp (http://bit.ly/novacc12), CMAP Code Camp Fall 2012 (http://bit.ly/novacc12), etc. The majority of his software development experience has centered on Microsoft technologies including MFC, COM, COM+, WCF, WPF, winRT, HTML5, RestAPI and SQL Server. You can follow Kishore on Twitter at www.twitter.com/kishore1021. He can be reached on email at researcherkishore@outlook.com
Software Developer (Senior) LogRhythm
United States United States
Enjoying Colorado! Family and intense software development.

Kjell is a driven developer with a passion for software development. His focus is on coding, boosting software development, improving development efficiency and turning bad projects into good projects.

Kjell was twice national champion in WUKO and semi-contact Karate and now he focuses his kime towards software engineering, everyday challenges and moose hunting while not being (almost constantly) amazed by his daughter and sons.
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 (Senior) Free Lancer
Egypt Egypt
BSc Computer Engineering, Cairo University, Egypt.

I love teaching and learning and I'm constantly changing Smile | :)
Feel free to discuss anything with me.

A Freelance UX designer, Code is my tool brush, I design for experience !


My Website
Software Developer
Greece Greece
I'm working in C++, PHP , Java, Windows, iOS, Android and Web (HTML/Javascript/CSS).

I 've a PhD in Digital Signal Processing and Artificial Intelligence and I specialize in Pro Audio and AI applications.

My home page: https://www.turbo-play.com
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1
France France
I am a freelance software engineer living in Paris, France.
Architect
India India

I Started my Programming career with C++. Later got a chance to develop Windows Form applications using C#. Currently using C#, ASP.NET & ASP.NET MVC to create Information Systems, e-commerce/e-governance Portals and Data driven websites.

My interests involves Programming, Website development and Learning/Teaching subjects related to Computer Science/Information Systems. IMO, C# is the best programming language and I love working with C# and other Microsoft Technologies.

  • Microsoft Certified Technology Specialist (MCTS): Web Applications Development with Microsoft .NET Framework 4
  • Microsoft Certified Technology Specialist (MCTS): Accessing Data with Microsoft .NET Framework 4
  • Microsoft Certified Technology Specialist (MCTS): Windows Communication Foundation Development with Microsoft .NET Framework 4

If you like my articles, please visit my website for more: www.rahulrajatsingh.com[^]

  • Microsoft MVP 2015
Software Developer (Senior)
United States United States
Dr. Doss holds a PhD in Applied Computer Science. His research interests include Operating Systems, Networking, Theory of NP Completeness,and Software Engineering.
https://www.rdoss.com
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.
Belarus Belarus
Developing in C++, C#, .Net, Java, Delphi; working with SQL, HTML, JavaScript, CSS
Engineer
India India
I am Vijay hailing from Bangalore, the silicon valley of India. I posses extensive expertise working in mobility domain. I have a natural propensity for "Research and Innovation".

My areas of interest include Pervasive computing, Cognitive sensors, HCI, and Multimedia. Being strongly resolute with an everlasting fervor for learning, over the years I have learnt to come out of comfort zone to experiment with state of the art technologies and to contribute to developer community.

I blog about innovations and latest technologies from mobility domain, about development environments and programming languages across different platforms.

Blog : Amusement of a speculative mind...[^]
Projects : Amusement of a dilettante mind...[^]
LinkedIn : Vijay D R [^]
Web Developer Voicent Communications, Inc
United States United States
Voicent provides easy-to-use call center software such as predictive dialer, IVR, IP PBX for businesses and organizations. We are Windows developers and love Codeproject.
You must sign in to participate in this contest.
This contest has ended.
1 Mar - 31 Mar 2012