Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
file.h File Reference

提供跨平台的文件路径封装和文件 I/O 操作。 More...

#include <cstdio>
#include <fstream>
#include <iostream>
#include <iterator>
#include <string>
#include <type_traits>
#include <vector>
#include "../core/csexc.h"
#include "../text/strpp.h"

Go to the source code of this file.

Classes

class  console::BasicPath< CharT >
 文件路径封装类,提供便捷的文件读写和路径操作。 More...

Namespaces

namespace  console
 本库所有组件所在的顶层命名空间。

Typedefs

using console::Path = BasicPath<char>
 窄字符路径类型。
using console::WPath = BasicPath<wchar_t>
 宽字符路径类型。

Detailed Description

提供跨平台的文件路径封装和文件 I/O 操作。

包含 BasicPath 类,支持路径拼接、文本/二进制读写、按行读写、POD 类型读写等。

Author
MrXie1109
Date
2026