Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C++ 中是否有任何面向对象的方法用于检查文件的属性,如lstatC 中的?还是类似于FileJava 中的 Class ?
lstat
File
您可以lstat在 C++ 中使用,就像在 C 中一样。它是 POSIX 的一部分。