欢迎访问Qi9电脑知识网学习电脑知识,计算机基础知识,请您记住我们的网址www.Qi9.cn!!
网址导航网站导航 加入收藏加入收藏 设为首页设为首页
内容频道当前位置:Qi9电脑知识网 > 专业知识 > 程序设计教程 > C++编程 > 浏览文章

关于编译指令#pragma知识详解

日期:2011年02月09日 来源:Qi9电脑知识网  【字体: 】   阅读:


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

相关文章



编辑:程伟



热门推荐

相关热门搜索