Skip to content

CPP-Data is a ๐Ÿ’ช robust C++ library for streamlined data handling. It offers versatile tools and utilities for managing diverse data structures and operations, perfect for projects of any scale. Whether ๐Ÿ“ฆ storing, retrieving ๐Ÿ”„ vectors or arrays, CPP-Data simplifies is. It also provides the flexibility to hash data using custom functions ๐Ÿ”’โœจ

License

Notifications You must be signed in to change notification settings

Magic-Academy/Data

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฅC++ Data Lib๐Ÿ”ฅ

๐ŸŒAbout๐ŸŒ

This is Easy Lib for Saving, Loading, Managing Data and Files <3

๐Ÿ“ƒUsage๐Ÿ“ƒ

1. Download Tag add Files to project And Include Header File
Array:
2.1 Create
Data::Array [ClassName] = Data::Array({Path}, {Size});
2.2 Update FilesList
[ClassName].UpdateList();
2.3 Get FilesList
[ClassName].FileList[{element}];
2.4 Read Data From File in this dir to Array
[ClassName].Read({FileName}, {UnHash function(optional) for line});
2.5 Save Data from Array to File
[ClassName].Save({FileName}, {Hash function(optional) for line});
2.6 Create File
[ClassName].Create({FileName});
2.7 Remove File
[ClassName].Remove({FileName});
2.8 Check if IsEmpty
[ClassName].IsEmpty({FileName});
2.9 Check if files was changed in Dir
[ClassName].Check();
2.10 Acces to Data Array
[ClassName].Content

Vector:
2.1 Create
Data::Vector [ClassName] = Data::Vector({Path}, {Size});
2.2 Update FilesList
[ClassName].UpdateList();
2.3 Get FilesList
[ClassName].FileList[{element}];
2.4 Read Data From File in this dir to Array
[ClassName].Read({FileName}, {UnHash function(optional) for line});
2.5 Save Data from Array to File
[ClassName].Save({FileName}, {Hash function(optional) for line});
2.6 Create File
[ClassName].Create({FileName});
2.7 Remove File
[ClassName].Remove({FileName});
2.8 Check if IsEmpty
[ClassName].IsEmpty({FileName});
2.9 Check if files was changed in Dir
[ClassName].Check();
2.10 Acces to Data Vector
[ClassName].Content

๐Ÿ”ฅFeatures๐Ÿ”ฅ

  • Vectors.
  • Arrays.
  • List All Files in Dir.
  • Remove File.
  • Create File.
  • Create Dir.
  • Load Data From File.
  • Save Data to File.
  • Manage Conetent Data.
  • Check if File is empty.
  • Check if Files are change.
  • Custom Hash Function For Every Line
  • Save in dec Format

About

CPP-Data is a ๐Ÿ’ช robust C++ library for streamlined data handling. It offers versatile tools and utilities for managing diverse data structures and operations, perfect for projects of any scale. Whether ๐Ÿ“ฆ storing, retrieving ๐Ÿ”„ vectors or arrays, CPP-Data simplifies is. It also provides the flexibility to hash data using custom functions ๐Ÿ”’โœจ

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published