Skip to content

C and C++

Simplest Window Service

CodeGuru.com - Fri, 02/03/2012 - 06:00
Learn how to convert an app into a service without much of an effort using this simple, two-step, yet powerful Windows Service class called CSvcHandler.
Categories: C and C++

Mandelbrot Using C++ AMP

CodeGuru.com - Mon, 01/30/2012 - 06:00
This article implements a Mandelbrot renderer that is multiple times faster than a CPU-only implementation by using a new Microsoft technology called C++ AMP: Accelerated Massive Parallelism, introduced in the Visual C++ 11 Preview.
Categories: C and C++

How to Make Fewer Errors at the Stage of Code Writing. Part N4

CodeGuru.com - Mon, 01/23/2012 - 06:00
Andrey Karpov shares some useful observations on error patterns, touching upon the subject of handling rare and emergency conditions in programs.
Categories: C and C++

How to Make Fewer Errors at the Stage of Code Writing. Part N3.

CodeGuru.com - Fri, 12/16/2011 - 06:00
This third article in the series discusses a couple of new programming methods that can help you make your code simpler and safer.
Categories: C and C++

SSE2 Vectorization of Alphablend Code

CodeGuru.com - Wed, 12/14/2011 - 06:00
Wong Shao Voon shows you how to use SSE2 to Speed up Alphablending.
Categories: C and C++

How to Make Fewer Errors at the Stage of Code Writing. Part N2

CodeGuru.com - Mon, 12/12/2011 - 06:00
This is the second article on avoiding certain errors at the early stage of code writing. In the previous post, we have already advised you to avoid a large number of calculations in one expression. However, we should investigate this question in detail. Let's see what's dangerous about complex expressions and how we can avoid many logical errors.
Categories: C and C++

90 Errors in Open-Source Projects

CodeGuru.com - Fri, 12/09/2011 - 06:00
The materials collected in this article will be useful for authors of articles, books and blogs. Examples of errors can be used to demonstrate the advantages of different programming styles -- for instance, why you should not try to make your code shorter by writing long expressions.
Categories: C and C++

Leo Tolstoy and Static Code Analysis

CodeGuru.com - Mon, 12/05/2011 - 06:00
Andrey Karpov checks Apache HTTP Server with PVS-Studio and discusses the errors and false reports returned.
Categories: C and C++

Amusing C++

CodeGuru.com - Fri, 12/02/2011 - 06:00
The article describes a few C++ tricks that look uncommon but amusing.
Categories: C and C++

A Time Zone API supplement

CodeGuru.com - Wed, 11/30/2011 - 06:00
Microsoft has an extremely limited set of Time Zone functions. This API will allow the full use of Time Zones in your Windows App.
Categories: C and C++

Linq-To-XML Style of Node Creation for C++

CodeGuru.com - Mon, 11/28/2011 - 06:00
This article discusses the new C++ Elmax XML Library feature to implement Linq-To-XML node creation to write XML files. Linq-To-XML node creation is the natural way to create nodes with code that is structurally identical to resultant XML.
Categories: C and C++

Take Advantage of External Storage with Your Android App

CodeGuru.com - Mon, 11/14/2011 - 06:00
Does your Android App need a lot of storage? Don't hog the phones internal storage, instead use Android's External Storage to store data on the users SD card.
Categories: C and C++

Download and Decode JSON Data with your Android App

CodeGuru.com - Wed, 11/09/2011 - 06:00
Ready to start integrating and using JSON data with your Android app? In this article, I will demonstrate the basics of requests data and extracting elements from JSON data.
Categories: C and C++

Monetize Your Free Android App by Creating a Paid App to Unlock Additional Features

CodeGuru.com - Fri, 11/04/2011 - 06:00
Trying to figure out how to bring in more revenue for your Android app? Try adding a paid version, which would be used to unlock features in the free version.
Categories: C and C++