Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

1. C/C++跨平台开发时有哪些值得注意的事项? 1.1. 你知道如何选择C++标准的版本吗? 1.1.1. C++版本说明 1.1.2. 如何选择版本 1.1.3. 最佳实践 1.2. 源代码要如何保存,跨平台和跨IDE时才不会出现中文乱码? 1.2.1. 中文乱码问题与原因分析 1.2.2. 解决策略 1.3. 如何优雅的隔离平台的差异? 1.3.1. 用宏定义隔离...

1. 关键词 2. fileutil.h 3. fileutil.cpp 4. filesystem_win.h 5. filesystem_win.cpp 6. filesystem_unix.cpp 7. 源码地址 1. 关键词C++ 文件系统操作 拷贝文件 拷贝文件夹 跨平台 2. fileutil.h1234567891011121314151617181920212223242...

1. 关键词 2. fileutil.h 3. fileutil.cpp 4. list_files 5. 源码地址 1. 关键词C++ 文件系统操作 查找指定文件夹下的特定文件 跨平台 2. fileutil.h1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484...

1. 关键词 2. fileutil.h 3. fileutil.cpp 4. filesystem_win.h 5. filesystem_win.cpp 6. filesystem_unix.cpp 7. 源码地址 1. 关键词C++ 文件系统操作 列出指定目录下的所有文件 列出指定目录下的所有文件夹 跨平台 2. fileutil.h123456789101112131415161...

1. 关键词 2. fileutil.h 3. fileutil.cpp 4. filesystem_win.h 5. filesystem_win.cpp 6. filesystem_unix.cpp 7. 源码地址 1. 关键词C++ 文件系统操作 获取文件的大小 获取文件夹的大小 跨平台 2. fileutil.h1234567891011121314151617181920212...

1. 关键词 2. fileutil.h 3. fileutil.cpp 4. 源码地址 1. 关键词C++ 文件系统操作 读取纯文本文件 写入纯文本文件 跨平台 2. fileutil.h1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545...

1. 关键词 2. fileutil.h 3. fileutil.cpp 4. filesystem_win.h 5. filesystem_win.cpp 6. filesystem_unix.cpp 7. 源码地址 1. 关键词C++ 文件系统操作 创建文件夹 创建多级目录文件夹 删除文件夹 删除文件夹下的所有文件和子目录 跨平台 2. fileutil.h1234567891011...

1. 关键词 2. fileutil.h 3. fileutil.cpp 4. filetype.h 5. filesystem_win.cpp 6. filesystem_unix.cpp 7. 源码地址 1. 关键词C++ 文件系统操作 创建文件 删除文件 创建软连接 刪除软连接 跨平台 2. fileutil.h12345678910111213141516171819202122...

1. 关键词 2. filesystem.h 3. filesystem_unix.cpp 4. filesystem_win.cpp 5. filepath.h 6. filepath.cpp 7. 测试代码 8. 运行结果 9. 源码地址 1. 关键词C++ 文件路径处理 软连接 真实路径 相对路径 绝对路径 跨平台 2. filesystem.h123456789101112131...

1. 关键词 2. filetype.h 3. filesystem.h 4. filesystem_unix.cpp 5. filesystem_win.cpp 6. filepath.h 7. filepath.cpp 8. 测试代码 9. 运行结果 10. 源码地址 1. 关键词关键词: C++ 文件路径处理 文件夹 普通文件 软连接 跨平台 应用场景: 根据指定的目录路径,判断该...