C++ 類型轉換

隱式類型轉換:   從構造函數形參類型 到 該類類型 的一個編譯器的自動轉換。 #include "stdafx.h" #include <string> #include <iostream> using namespace std; class Person { private: string _name; public: bool compareName(const Person& o
相關文章
相關標籤/搜索