|
빌더 도움말에 보면 나와 있네요...영문이라 좀 그렇지만..
일부만 올립니다.
도움말 보면 더 자세히 나와 있어요.
한글은 찾아보구 다시 올릴께요.
-----------------------------
Preprocessor Directives
-----------------------------
Preprocessor directives are usually placed at the beginning of your source code, but they can legally appear at any point in a program. The C++Builder preprocessor detects preprocessor directives (also known as control lines) and parses the tokens embedded in them. C++Builder supports these preprocessor directives:
# (null directive)
#ifdef
#define
#ifndef
#elif
#import
#else
#include
#endif
#line
#error
#pragma
#if
#undef
Any line with a leading # is taken as a preprocessing directive, unless the # is within a string literal, in a character constant, or embedded in a comment. The initial # can be preceded or followed by whitespace (excluding new lines).
-----------------------------------------
#pragma summary
-----------------------------------------
Syntax
#pragma directive-name
Description
With #pragma, C++Builder can define the directives it wants without interfering with other compilers that support #pragma. If the compiler doesn't recognize directive-name, it ignores the #
pragma directive without any error or warning message.
C++Builder supports the following #pragma directives:
#pragma alignment
#pragma anon_struct
#pragma argsused
#pragma checkoption
#pragma codeseg
#pragma comment
#pragma defineonoption
#pragma exit
#pragma hdrfile
#pragma hdrstop
#pragma inline
#pragma intrinsic
#pragma link
#pragma message
#pragma nopushoptwarn
#pragma obsolete
#pragma option
#pragma pack
#pragma package
#pragma resource
#pragma startup
#pragma undefineonoption
#pragma warn
--------------------------------------------
강영준 님이 쓰신 글 :
: 음..
:
: #include 외에 몇가지 # 붙는 것들이 있든데요...
:
: 각각의 용법을 알수 없을까요?..
:
: 갑자기 궁금해졌는데..
|