Click here to Skip to main content
15,440,179 members
This competition has ended

Best C++ article of February 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.
6 Mar 2012Chandrakantt
Registering a custom URL protocol for invoking an application
Please Sign up or sign in to vote.
7 Feb 2012ErnestoNet
User Control with scrolling and zooming done in C++/CLI
Please Sign up or sign in to vote.
19 Feb 2012Mukit, Ataul
This article shows the use of mutex's with explanations (Copied from MSDN - may prove convenient for some)
Please Sign up or sign in to vote.
13 Feb 2012Mike Hankey
A Real Time Clock development board.
Please Sign up or sign in to vote.
21 Feb 2012Jochen Arndt
Information about COleDataSource not contained in the Microsoft documentation or hardly to be found
Please Sign up or sign in to vote.
18 Feb 2012GregEllis
You can do it with some XORs:int a = 25, b = 7;a = a ^ b;b = b ^ a;a = a ^ b;Or the same thing with some shorthand to make the code even harder to read:a ^= b;b ^= a;a ^= b;
Please Sign up or sign in to vote.
17 Feb 2012potluri_suresh
Raw Audio data is encoded to AMR-NB audio using opencore-amr library
Please Sign up or sign in to vote.
17 Feb 2012josh.rendon
That conclusion is definitely wrong. Your equation expanded equals: b = (a+b) - (a-b) = a+b - a + b = 2*bFor your example a=20, b=10b = (20+10) - (20-10) = (30) - (10) = 20b = 20 + 10 - 20 + 10 = 20A counter example to disprove this: a=75, b=88b = (75+88) - (75-88) =...
Please Sign up or sign in to vote.
1 Feb 2012Sebastian Krysmanski
C++ references and inheritance
Please Sign up or sign in to vote.
12 Feb 2012Andreas Gieriet
HTML page with all syntax/grammar productions of C++98/C++11
Please Sign up or sign in to vote.
7 Feb 2012Doc Lobster
How to quickly check whether C++ Template Instances have the same parameters
Please Sign up or sign in to vote.
11 Feb 2012geoyar
How to quickly check whether C++ Template instances have the same parameters
Please Sign up or sign in to vote.
27 Feb 2012pinaldave
Identifying guest User using Policy Based Management
Please Sign up or sign in to vote.
9 Feb 2012Paul Michalik
This post helps to quickly check whether C++ template instances have the same parameters.
Please Sign up or sign in to vote.
7 Feb 2012Member 8279190
Use Eclipse-CDT IDE. It shows the macro expansion in place without having to resort to running the pre-processor.
Please Sign up or sign in to vote.
25 Feb 2012wullinkm
Workaround for Valums AJAX File Upload IE9 issues
Please Sign up or sign in to vote.
27 Feb 2012Leslie Zhai
Porting Axel a lighter download accelerator for Linux and other Unices to NATIVE WIN32
Please Sign up or sign in to vote.
1 Apr 2012ed welch
A utility to create texture atlases for 2D OpenGL games
Please Sign up or sign in to vote.
22 Feb 2012Sergey Chepurin
How to sign code with digital signatures and associating them with files
Please Sign up or sign in to vote.
9 Nov 2012Deka Prikarna A.
Simple URB (USB Request Block) Monitor
Please Sign up or sign in to vote.
5 Nov 2017Alexander Iacobciuc
In this article you will find yet another implementation of a web camera control.
Please Sign up or sign in to vote.
25 Mar 2012Robert Umbehant
Building C++ Applications with HTML5
Please Sign up or sign in to vote.
9 Mar 2012Adnan Boz
From spam filters to movie recommendation and face detection, nowadays machine learning algorithms are used everywhere to make the machine think for us. But, running these algorithms require high computation power and in most cases supercomputers. This is where the 500 core GPUs step in...
Please Sign up or sign in to vote.
6 Feb 2012Apriorit Inc, Kotik Anton
In his article, we will consider an interesting, universal and rarely used method of code injection into a Windows process using KnownDlls sections. To demonstrate the method work we will develop a sample project to inject into all running processes and intercept some calls from ws2_32.dll.
Please Sign up or sign in to vote.
6 Feb 2012AmrThabet
How to write a reliable shellcode on win32, how to bypass the obstacles that you will face in writing a win32 shellcode and how to implement your shellcode into Metasploit
Please Sign up or sign in to vote.
15 Mar 2012Preston Gull 1 alternative  
How to make a borderless form movable. Now in C++!
Please Sign up or sign in to vote.
8 Aug 2012peter gabris
Example PIC microprocessor program on a tiny RF transceiver.
Please Sign up or sign in to vote.
25 Mar 2012Rahul Rajat Singh
This article presents the basics of Observer Pattern, when to use it and how to implement it in C++.
Please Sign up or sign in to vote.
9 Mar 2012StephenPhillips
Command line application for recording and displaying scores for Ten Pin bowling
Please Sign up or sign in to vote.
24 Feb 2012Chandrakantt
Detailed description for creating custom action in Visual Studio using C++/Win32
Please Sign up or sign in to vote.
16 Feb 2012Rahul Rajat Singh
This article aims at understanding and implementing Abstract Factory Pattern in C++.
Please Sign up or sign in to vote.
13 Feb 2012Mustafa Chelik
Calculates NTLM hash of given string in pure C/C++
Please Sign up or sign in to vote.
7 Feb 2012Stefan_Lang
If you're using templates already, and are willing to adapt your class definitions, then this should work:template class BaseClass {public: virtual bool equals(T* other) = 0;};template class ChildClass : public BaseClass > {public: typedef...
Please Sign up or sign in to vote.
21 Feb 2012Leslie Zhai
It is a reminiscent SLOC console in libc/libc++ cross GNU and WIN32
Please Sign up or sign in to vote.
17 Feb 2012potluri_suresh
Raw Audio data is encoded to AAC compression using ffmmpeg library.

Current Participants

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

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
Russian Federation Russian Federation
Niko Bellic (Serbian: Niko Belić) is the main protagonist and playable character in the video game Grand Theft Auto IV. He is a 30 year old former soldier who moved to Liberty City to escape his troubled past and pursue the American Dream.
Software Developer (Senior)
Ireland Ireland
Amr Thabet (@Amr_Thabet) is a Malware Researcher with 5+ years experience in reversing malware, researching and programming. He is the Author of many open-source tools like Pokas Emulator and Security Research and Development Framework (SRDF).
Founder eXternSoft GmbH
Switzerland Switzerland
I feel comfortable on a variety of systems (UNIX, Windows, cross-compiled embedded systems, etc.) in a variety of languages, environments, and tools.
I have a particular affinity to computer language analysis, testing, as well as quality management.

More information about what I do for a living can be found at my LinkedIn Profile and on my company's web page (German only).
Chief Technology Officer Apriorit Inc.
United States United States
ApriorIT is a software research and development company specializing in cybersecurity and data management technology engineering. We work for a broad range of clients from Fortune 500 technology leaders to small innovative startups building unique solutions.

As Apriorit offers integrated research&development services for the software projects in such areas as endpoint security, network security, data security, embedded Systems, and virtualization, we have strong kernel and driver development skills, huge system programming expertise, and are reals fans of research projects.

Our specialty is reverse engineering, we apply it for security testing and security-related projects.

A separate department of Apriorit works on large-scale business SaaS solutions, handling tasks from business analysis, data architecture design, and web development to performance optimization and DevOps.

Official site: https://www.apriorit.com
Clutch profile: https://clutch.co/profile/apriorit
This is a Organisation

33 members
Technical Lead
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Indonesia Indonesia
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 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.
Software Developer
Argentina Argentina
System developer from Argentina.

Programmed in VB 5,6,.NET, C#, Java, PL-SQL, Transac-SQL, C, C++ and even some "calculator" language.

Love to build small, useful applications.
Usually building big and complicated apps based on solid, reliable components.

Hobbies: reading, photography, chess, paddle, running.
Software Developer Verizon Internet Services
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.
Engineer
Germany Germany
Jochen started programming in the 80s using Assembler (Z80, 8080, x86), BASIC, C, and TurboPascal. Actually he uses mainly C++. He is a graduate engineer in communications engineering (University of Applied Sciences Kiel, 1991).
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.
Engineer
China China
An individual human existence should be like a river - small at first, narrowly contained within its banks, and rushing passionately past boulders and over waterfalls. Gradually the river grows wider, the banks recede, the waters flow more quietly, and in the end, without any visible break, they become merged in the sea, and painlessly lose their individual being.
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.
Retired
United States United States
Currently enjoying retirement and working on projects without pressure, deadlines or any kind of management.
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1
Software Developer (Senior)
Turkey Turkey
I began programming in Visual Basic 6.0. Coded applications in various branchs. Then, learned C programming language in university and deeply loved it. Now, I develop Win32 and MFC applications in native and pure C++.
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 www.bsp-software.com
United States United States
A neighbor promised to show me the first computer in the city if I detail his motorbike. He let me in and I stayed forever. I learned how to tame the beast. I was 14.

A few years later I figured out how to sqeeze hydrological/hydraulic models into 8K memory. The models were used on big rivers including Indus River, Yamuna River, Danube River. The version in Pakistan (that I later converted from FORTRAN to C) is still in use. Over 30 years and still running.

6 days took my book Word of Computers (in Slovak language) to completely sell out.

Annual LEGO price was awarded to an institute led by me for our work in education. Money went to charity, I still have the tie.

Spent years in consulting. Project rescue is a smokejumper's job. I saved a bunch of hoplessly failing projects in areas of procurement, recruitment, check image scanning and ICR, business risk evaluation.

15 months took my latest SAAS application to earn million dollars.
Founder http://blog.SQLAuthority.com
India India
Pinal Dave is a Microsoft Technology Evangelist (Database and BI). He has written over 2200 articles on the subject on his blog at http://blog.sqlauthority.com. Along with 8+ years of hands on experience he holds a Masters of Science degree and a number of certifications, including MCTS, MCDBA and MCAD (.NET). He is co-author of two SQL Server books - SQL Server Programming, SQL Wait Stats and SQL Server Interview Questions and Answers. Prior to joining Microsoft he was awarded Microsoft MVP award for three continuous years for his contribution in community.
Software Developer (Senior) 3k Techonologies
United States United States
Suresh Potluri has worked in Windows device drivers, Solid experience in NDIS Layer, developed many NDIS Miniport drivers. Extensive experience in developing NDIS miniport drivers, building WHQL/DTM setup, clearing all WHQL/DTM tests, and subsequently getting device signature/logo process for the developed drivers. He also was also solely responsible for debugging traps and blue screens for a number of years.
he also worked on many PCI based boards, developed Board support packages, Vx-Works firmware for Power PC, firmware for ARM based boards for Wireless LAN devices.

he is interested in Embedded, NDIS, MPEG.

Previously worked in Tandberg TV, Sunnyvale, Chlesio Communications, Sunnyvale, Hellosoft, Hyderabad.
Student L&N STEM Academy
United States United States
Code sucks, but its rewarding so do it.
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
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer University of Stuttgart
Germany Germany
I have studied Software Engineering and am currently working at the University of Stuttgart, Germany.

I have been programming for many years and have a background in C++, C#, Java, Python and web languages (HTML, CSS, JavaScript).
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)
Switzerland Switzerland
Graduated at TU Darmstadt in Math & CS, with a heavy focus on CAD/CAM

Programming and designing applications in C++ in the areas AI, real-time programming, client-server applications and CAD/CAM since 1985.

Personal interests: AI, computer graphics, games, reading
Software Developer
United Kingdom United Kingdom
Graduated from University of Bolton in July 2011
BSc Hons. in Computer Games Software Development.
Confident C++ programmer, familiar with C, C#, Java and Obj-C.
Expertise is in low-level systems architecture.
Software Developer Dexchange Outsourcing
Netherlands Netherlands
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 Feb - 29 Feb 2012