Namespaces
Variants
Actions
Revision as of 09:59, 20 July 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Preprocessing

Jump to: navigation, search
Article Metadata

Article
Created: wang_shui (24 Mar 2007)
Updated: hamishwillee (20 Jul 2012)
Last edited: hamishwillee (20 Jul 2012)

In programming languages, preprocessing is where source code is first parsed before being sent for processing by the rest of the build and compile toolchain. It is most commonly used to conditionally include parts of a program depending on the desired target.

For example, a preprocessor macro might be used to identify code related to the camera. The preprocessor would only include this code in builds for target devices that have a camera.

87 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved