gaaagaa / inifile Goto Github PK
View Code? Open in Web Editor NEWC++ 实现的 INI 文件读写类。
License: MIT License
C++ 实现的 INI 文件读写类。
License: MIT License
在xini_file.h的第1457行报错 namespace std中没有isprint和iscntrl
// 跳过字符流的头部编码信息(如 utf-8 的 bom 标识)
while (!xfile_reader.eof())
{
int xchar = xfile_reader.get();
if (std::iscntrl(xchar) || std::isprint(xchar))
{
xfile_reader.putback(static_cast< char >(xchar));
break;
}
m_xstr_head.push_back(static_cast< char >(xchar));
}
当我删除掉std::后 程序正常工作
// 跳过字符流的头部编码信息(如 utf-8 的 bom 标识)
while (!xfile_reader.eof())
{
int xchar = xfile_reader.get();
if (iscntrl(xchar) || isprint(xchar))
{
xfile_reader.putback(static_cast< char >(xchar));
break;
}
m_xstr_head.push_back(static_cast< char >(xchar));
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.