首页
技术人生
登录
6mi
u
盘
搜
搜 索
技术人生
VC中获取当前系统环境变量
VC中获取当前系统环境变量
技术
2025-07-07
12
getenv, _wgetenv 单字节用getenv 宽字符用_wgetenv 如: char* path = getenv("programfiles"); wchar* path = _wgetenv(L"programfiles"); 如果嫌这个不安全就用getenv_s, _wgetenv_s
转载请注明原文地址: https://ibbs.8miu.com/read-2267106.html
最新回复
(
0
)