我的第一個c++程序

對象指針數組演示 1、先準備一個程序編輯環境(新建項目) 我用的是vs2015工具 2、編輯代碼 #include 「stdafx.h」 //添加預處理語句 #include using namespace std; //命名空間 class Test { int num; double f1; public: Test(int n) { num = n; } Test(int n, double
相關文章
相關標籤/搜索