Set: C++: Preprocessor Directives

Familiarize

Learn

Test

Play Scatter

Play Space Race

Combine with other sets Login to add to Favorites
Print: Term List | Flashcards Editing not allowed
Export Deleting not allowed

Share these flash cards

With group: None
HTML link to set: Tiny link:
Share on Facebook Share on MySpace

All 16 terms

TermDefinition
Preprocessor directiveslines included in the code of our programs that are not program statements but directives for the preprocessor
#define indentifier replacementto define preprocessor macros
#undef indentifierto undefine preprocessor macros
#in a preprocessor macro, causes a replacement to replaced with a string literal
##in a preprocessor macro, concatenates two arguments leaving no black spaces between them
#ifdefallows a section of a program to be compiled only if a macro that is specified as the parameter has been defined, no matter what its value is
#ifndefthe code between #ifndef and #endif directives is only compiled if the specified identifier has not been previously defined
#if serve to specify some condition to be met in order for the portion of code they surround to be compiled
#endifends an #ifdef or #ifndef macro
#else serve to specify some condition to be met in order for the portion of code they surround to be compiled
#elif serve to specify some condition to be met in order for the portion of code they surround to be compiled
#line number "filename"allows us to control both things, the line numbers within the code files as well as the file name that we want that appears when an error takes place
#errorThis directive aborts the compilation process when it is found, generating a compilation the error that can be specified as its parameter:
#include "file"it replaces it by the entire content of the specified file looking for the file name and then the header
#include <file>it replaces it by the entire content of the specified file looking for the header
#pragmadirective is used to specify diverse options to the compiler

Set Information

Terms 16
Creator jtwilliams00
Created March 30, 2009
Groups None
Subjects C++, C plus plus, programming
Access Anyone
Edit Creator Only
Get rid of ads on Quizlet
Pop out

Discuss

No Messages
Last Message: never

You must be logged in to discuss this set.