回 帖 发 新 帖 刷新版面

主题:在vc中这些符号是什么意思?这些代码是在干嘛?

    private: System::Data::DataSet^  dataSet1;
    protected: 
    private: System::Data::OleDb::OleDbCommand^  oleDbCommand1;
    private: System::Data::OleDb::OleDbConnection^  oleDbConnection1;
    private: System::Data::OleDb::OleDbCommand^  oleDbSelectCommand1;
    private: System::Data::OleDb::OleDbCommand^  oleDbInsertCommand1;
    private: System::Data::OleDb::OleDbCommand^  oleDbUpdateCommand1;
    private: System::Data::OleDb::OleDbCommand^  oleDbDeleteCommand1;
    private: System::Data::OleDb::OleDbDataAdapter^  oleDbDataAdapter1;
    private: System::Windows::Forms::Label^  label1;
    private: System::Windows::Forms::TextBox^  textBox1;
    private: System::Windows::Forms::Button^  button1;
    private: System::Windows::Forms::Button^  button2;
    private: System::Windows::Forms::DataGridView^  dataGridView1;
    
    
    上面是头文件的一点代码,上面是在定义对象吗?DataSet^  dataSet1中的符号'^'又是代表什么意思?这些程序是在vc2008中的[size=6][/size]

回复列表 (共2个回复)

沙发

这不是C++吧.......好像是C#

板凳


刚刚找到一些答案了,这是vc2008中的一些新语法

我来回复

您尚未登录,请登录后再回复。点此登录或注册