C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[25369] [답변] 헬프에 나와 있는 것들(영문)......한글은 찾아보고..다시
정성훈.해미 [sage5nor] 817 읽음    2003-04-26 11:55
빌더 도움말에 보면 나와 있네요...영문이라 좀 그렇지만..

일부만 올립니다.

도움말 보면 더 자세히 나와 있어요.

한글은 찾아보구 다시 올릴께요.

-----------------------------
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 외에 몇가지 # 붙는 것들이 있든데요...
:
: 각각의 용법을 알수 없을까요?..
:
: 갑자기 궁금해졌는데..

+ -

관련 글 리스트
25368 [질문] #pragma <-- 이넘이 어떤 역활을 하는지 좀 가르쳐 주세요. 강영준 613 2003/04/26
25380     Re:[질문] #pragma <-- 이 놈의 역할('활'이 아니죠! --;)은 Tip'N Tricks에 있습니다. 김백일.cedar 707 2003/04/28
25382         Re:Re:부끄럽습니다.^^ (냉무) 강영준 538 2003/04/28
25370     [자료] 관련사이트 링크합니다.....참고하세요.. 정성훈.해미 601 2003/04/26
25369     [답변] 헬프에 나와 있는 것들(영문)......한글은 찾아보고..다시 정성훈.해미 817 2003/04/26
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.