Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
在C和C ++中,您需要逃脱
\
字符时使用字符串/字符字面的字符,例如:话虽这么说,您确实不应该使用
system()
>像这样。代替使用win32 API,即cocreateGuid()
,string> string> string> string> string> regcreatekeyex() ,例如:
In C and C++, you need to escape the
\
character when used in a string/character literal, eg:That being said, you really should not be using
system()
like this. Use Win32 APIs instead, namelyCoCreateGuid()
,StringFromGUID2()
,RegCreateKeyEx()
, andRegSetValueEx()
, eg: