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.
如何使用 ACE 库管理文件和目录?我尝试使用 ACE_OS::unlink 删除文件,但没有成功。我也未能使用 ACE_OS::mkdir 创建目录。我需要找到一种方法来创建和删除目录、删除文件并将文件从一个目录移动到另一个目录
ACE_wrappers/tests/OS_Test.cpp有关如何创建、移动和删除文件的代码,请参阅。用于ACE_OS::mkdir/rmdir创建/删除目录。ACE_wrappers/tests/Dirent_Test.cpp有关如何检索目录内容的代码,请参见
ACE_wrappers/tests/OS_Test.cpp
ACE_OS::mkdir/rmdir
ACE_wrappers/tests/Dirent_Test.cpp