Skip to content

kapitche/reUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reUtils: Modern Utils Library

reUtils, your all-in-one utility header library designed to streamline your coding process by providing a comprehensive set of features without the hassle of multiple includes. Whether you're a seasoned developer or just starting out, reUtils has got you covered!

Table of Content 📖

Getting Started

reUtils is currently in its early stages, so beware that it is not meant to be used in production now. While I'm actively developing and expanding its capabilities, I encourage you to contribute to my project if you can. Please follow the already established patterns, guidelines, and conventions to make the code homogenous!

Prerequisites

Building/Compiling

On windows

# Run the batch file as administrator
build.bat

On Linux/MacOS

# Build the project
./build.sh
# Run the project
cd build && ./run.sh

Documentation

Right now, the header is just starting out and therefore I haven't added a lot of features Currently. If you want to contribute you can do it for sure but I'll just make sure that the code is following the same patterns, guidelines and conventions. I'll post all of the conventions and guidelines in later commits.

Strings

  • Class Composition:

    • Constructors
    • Public Getters
    • Public Modifiers
    • Operator Overloads
    • Externs/Overrides
    • Private Getters
    • Private Modifiers
  • Public Methods

    • int Length()
      • Returns the length (character count) of your string as an integer.
    • String& pop_back()
      • Remove the last character of the string
    • String sub(int, int = 0)
      • Substract a part of the string
    • String substring(int, int = 0)
      • See sub()
    • String cut(int, int = 0)
      • See sub()
    • String& append(const char*)
      • Append character(s) to the end of the string
    • String& replace(int, const char*)
      • Replace a part of the string with another string
    • String& operator+=(int, const char*)
      • Add more characetrs to the string
    • int operator--()
      • see pop_back()

Math (namespace)

  • Namespace Composition:

    • Math basic operations
    • List of Constants
    • Vectors 2D

    Vectors2D (classes)

    • Class Composition:

      • Constructors
      • Operator Overloads
      • Public Getters
    • Public Methods

      • todo

Roadmap

  • As of October 2, 2023, I've almost completed the string class and started to document the codebase better.
  • As of August 29, 2023, I've added more functionality to the Math's namespace and now the vector class is getting usable. Also added cmake.
  • As of August 26, 2023, I've initiated our journey with the first commit, laying the foundation for the String class.

Todos

I'm currently dedicated to making reUtils a very nice tool for developers. Here's a glimpse of what's incoming:

  • Basic String
  • Basic Math
  • PRNGs: Pseudorandom number generators for varied applications.
  • File System: Simplified file operations.
  • Logging: Effortless logging for better debugging.
  • Advanced String: Elevate your string manipulation capabilities.
  • Advanced Math: Mathematical utilities for many different needs.
  • Physics: Tools for physics-related calculations.
  • Dates and Timer: Manage dates and times with ease.
  • Networking: Simplified networking functionalities.

Conventions and Guidelines

To maintain consistency and quality, I'll soon be sharing our conventions and guidelines. This ensures that contributions align with the reUtils philosophy and make collaboration smooth and effective.

About

reUtils a small and modern utils header library that helps you save time by only including one file but get the power of thousands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors