ifstream f;
f.open(fileName);
if ( f.fail() )
{
// I need error message here, like "File not found" etc. -
// the reason of the failure
}
如何获取错误消息作为字符串?
子衿沉夜
慕盖茨4494581
相关分类