#pragma directive in C : Implementation-specific directives



#pragma directive in C : Implementation-specific directives

Syntax:

#pragma <directive name>

Explanation :

  1. With #pragma, Turbo C++ can define whatever directives it desires without interfering with other compilers that support #pragma.
  2. If the compiler doesn’t recognize <directive name>, it ignores the #pragma directive without an error or warning message.

Turbo C++ supports the following #pragma directives:

#pragma argsused
#pragma exit
#pragma hdrfile
#pragma hdrstop
#pragma inline
#pragma option
#pragma saveregs
#pragma startup
#pragma warn