#pragma hdrstop
表示将这语句之前的头文件的预处理内容都缓存在.csm文件(BCB的)中,这样可以加快下次的预处理速度;
以后每次编译前进行预处理操作时,只要这些头文件没有被修改就直接从缓冲文件中加载内容而不需要重新预处理它(默认都要重新预处理)。
在BCB的Project->Options->Compiler中可以设置,一般为$(BCB)\lib\vcl60.csm,同时还有*.#01 *.#02等临时文件生成,。
例如:
#include <vlc.h>
#pragma hdrstop
#include "login.h"
文章出处:http://www.91linux.com/html/article/program/cpp/20100328/19019.html
相关推荐
四、 #pragma hdrstop表示预编译头文件到此为止,后面的头文件不进行预编译。 3 五、 #pragma warning指令 3 六、 pragma comment(...) 5 七、 #pragma的用法 7 (1) message 参数。 8 (2) 另一个使用得比较多的...
#pragma hdrstop #include "Unit1.h" #define TIMEOUT_USECS 1000000 #define MAX_TIMEOUT 32000000 //--------------------------------------------------------------------------- #pragma package(smart_init)...
#pragma hdrstop #include "XIMU.h" #pragma package(smart_init) #pragma resource "*.dfm" float t30sp=138.5,t30pv=130.5,t30mv=50.2;//假设值 int t30trend[480]; //曲线有480个点 int t1; TForm1 *Form1; /...
#pragma hdrstop #include "Unit1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TForm1 *Form1; //-----------------...
#include <vcl.h>#pragma hdrstop
#pragma hdrstop #include "Unit1.h" #include "Unit2.h" #include "Unit3.h" #include "Unit4.h" #include "Unit5.h" #include "Unit6.h" #pragma package(smart_init) #pragma resource "*.dfm" TFmain *Fmain; ...
#pragma hdrstop #include "WINSOCK2.H" #include "Unit1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TForm1 *Form...
#pragma hdrstop #include "StudentSeqList.h" //引入顺序表的类 //--------------------------------------------------------------------------- /* * 有参构造函数SeqList */ template <class T > SeqList...
#pragma hdrstop #include #include #include #include "Unit1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" ...
#pragma hdrstop #include #include const A=30.0; const B=10.0; const MAX=500; //最大训练次数 const COEF=0.0035; //网络的学习效率 const BCOEF=0.001;//网络的阀值调整效率 ...
#pragma hdrstop #include #include const A=30.0; const B=10.0; const MAX=500; //训练次数 const COEF=0.0035; //网络的学习效率 const BCOEF=0.001;//网络的阀值调整效率 ...