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.
当谈到在 DLL 和不同线程之间传递它时,什么字符串容器是最好的,并且 DLL 可能有不同的运行时库,比如多线程调试。
例如 const char* ?
性能不是问题!
如果不需要是动态字符串,最好使用的容器是 static const char* exampleText = "Your string goes here";
static const char* exampleText = "Your string goes here";