FACTOID # 32: Guatamalan women work 11.5 hours a day, while South African men work only 4.5.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Compiler directive

In computer science, a compiler directive is data embedded in source code by programmers to tell compilers some intention about compilation. A compiler directive often tells the compiler how to compile; other source code tells the compiler what to compile. Wikibooks Wikiversity has more about this subject: School of Computer Science Open Directory Project: Computer Science Downloadable Science and Computer Science books Collection of Computer Science Bibliographies Belief that title science in computer science is inappropriate Categories: | ... A programmer or software developer is someone who programs computers, i. ... A diagram of the operation of a typical multi-language compiler. ...


Examples

  • A compiler directive could tell the compiler whether to do range checking on array indexes or trust that the programmer has not written code that can cause an error.
  • An #include directive in C tells the compiler to insert another text file at the current point.
  • The #pragma once construct in some implementations of C serves a purpose similar to that of #include guards.

In Ada, compiler directives are called pragmas (short for "pragmatic information"). In other languages, such as Turbo Pascal, they are called significant comments. The C Programming Language, Brian Kernighan and Dennis Ritchie, the original edition that served for many years as an informal specification of the language The C programming language is a standardized imperative computer programming language developed in the early 1970s by Dennis Ritchie for use on the Unix operating system. ... In the C programming language, an #include guard is a particular construct used to avoid the problem of double inclusion when dealing with the #include directive, as demonstrated in the following sample C code: // Double inclusion File grandfather. ... Ada is a structured, statically typed imperative computer programming language designed by a team lead by Jean Ichbiah of CII Honeywell Bull during 1977–1983. ... Turbo Pascal 3. ...


  Results from FactBites:
 
Compiler Configuration File (4637 words)
The isloader compiler directive is an integer directive.
The ld_pathfirst compiler directive is an integer directive.
Directives whose values are in string-substitution format cause Memory Advisor to replace arguments in the command that the stanza specifies.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m