ReadFile
函数功能
读取文件内容。
函数原型
static std::string DataHelper::ReadFile(const std::string& filePath);
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
filePath |
输入 |
文件路径。 |
返回参数说明
数据结构 |
说明 |
---|---|
std::string |
文件内容。 |
父主题: DataHelper
读取文件内容。
static std::string DataHelper::ReadFile(const std::string& filePath);
参数名 |
输入/输出 |
说明 |
---|---|---|
filePath |
输入 |
文件路径。 |
数据结构 |
说明 |
---|---|
std::string |
文件内容。 |