C++怎么从char字符串转换成GUID格式

2025-04-03 22:27:58
推荐回答(1个)
回答1:

//采取强制类型转换,以下程序已通过调试 #include #include using namespace std; int main() { char s1[]={"Hello,World !"}; string s2; s2=(string)s1; cout