結構的成員預設可公開存取(public)。 memberName1-3 - struct的成員名稱 ... 存取結構成員的值。 main.cpp. #include <iostream> #include <string> ...
確定! 回上一頁