BCB6.0的一些问题???
BCB好象是混血儿,里面还有VCL
谁能就从C++直接过度到BCB中要有的一些针对BCB的东西,给出一个提示:
像:TFORM, UNIT,
#include <vcl.h>--------------------------???
#pragma hdrstop---------------------------???
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)---------------这一块中间是什么??
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)----------这个是不是相当于顶层类??
: TForm(Owner)
{
}
以及各种文件的“后缀名”都是相当于VC中的什么??
谁有经典的文章也可以往上贴!!
有BCB快速上手什么的也可以,连接和文章都行!!
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
头文件的定义中要注意什么??
和MFC之间类比时要注意什么???