#include #include "common/Setup.h" #include "common/Constant.h" int main() { // 读取文件,装载设定项 Setup s(SETUP_FILE_NAME); // 打印所有装载的设定项 s.printSetup(); // 打印分辨率设定 cout << "----- Resolution setup -----" << endl; cout << "Resolution: "<< s.getResolution() << endl; system("pause"); }