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++ 例程来检查是否可以在系统上成功创建给定路径?例程不应该实际创建路径,但如果路径可以成功创建,则返回 true?
谢谢..
您可以将尝试创建路径的代码放在 try catch 块中。