-
Notifications
You must be signed in to change notification settings - Fork 1
Home
中文版:首页
Welcome to the official wiki for cfstream.
cfstream is a lightweight C/C++ header-only library designed to make file input and output redirection easier. It provides simple interfaces for redirecting standard streams, using independent C++ file streams, and querying the current library version.
This wiki contains detailed documentation, usage guides, API references, examples, and version history for the project.
cfstream currently provides two header files:
| File | Language | Description |
|---|---|---|
cfs.hpp |
C++ | C++ interface with namespace support and independent cfs::cin / cfs::cout
|
cfs.h |
C | C interface for simple standard input and output redirection |
The library is intended for scenarios such as:
- competitive programming
- local file-based testing
- handling large amounts of input
- small C/C++ projects that need lightweight stream helpers
Current version: 1.3.0
For detailed changes between versions, see:
If you are new to cfstream, start here:
For language-specific usage:
For complete function documentation:
For practical code samples:
For common questions and troubleshooting:
The README is designed to provide a quick introduction to the project, while this wiki provides more detailed documentation.
If you only want to quickly understand what cfstream is, read the repository README first.
If you want to learn how every function works, continue reading this wiki.