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_TCHAR* (或 ACE_TString) 的最简单方法是什么?是否可以使用 ACE_OS::read() 或 ACE_OS::fread() 读取文件?
你可以使用常规ACE_OS::read()的,看ACE_wrappers/examples/APG/Processes/Spawn.cpp,操作dumpRun()
ACE_OS::read()
ACE_wrappers/examples/APG/Processes/Spawn.cpp
dumpRun()