1.写入字符
BOOL WritePrivateProfileString(
LPCTSTR IpAppName,
//INI文件中的字段名
LPCTSTR IpKeyName,
//IpAppName下的键名
LPCTSTR IpString,
//键值
LPCTSTR IpFileName,
//完整的文件路径,如果该路径下没有该文件则在该路径下创建它
)
eg.
Cstring strStudName="张三";
::WritePrivateProfileString("StudentInfo","Name",strStudName,"C:\\student.ini")</