Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 794 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 794 Bytes

Cpp easy file stream

This is a class for file manipulation done in Cpp. With it, you can easily access a file, and obtain strings and numeric values (integer or decimal) contained within it.

Usage

To use the class, you need to include it in your file and instantiate it by passing the name of the file you want to use.

#include"fs.hpp"
int main(){
    FileStream a ("test.txt");
    return 0;
}

Example

To run the example we have prepared, simply run the following command in the project directory.

g++ -std=c++17 main.cpp -o example  

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT