Skip to content

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.

Notifications You must be signed in to change notification settings

ploft-devs/cpp-easy-file-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks