我需要在我的c程序中获取%APPDATA%的路径,以保存文件 %APPDATA%\myprogram\我该怎么做?
%APPDATA%\myprogram\
c windows appdata
appdata ×1
c ×1
windows ×1