use std::filesystem::path Class to represent the file path ... std::uintmax_t size = fs::file_size(path); std::cout << size << " bytes\n"; ...
確定! 回上一頁