Skip to content

Dynesshely/CppEnhanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

About

Your powerful tool for C++ development.

Whole project use CMake, you can easily import CppEnhanced through CMake.
In future, you will be able to import CppEnhanced from vcpkg and other package manager.

Build

Dependencies

  • CMake ( Version > 3.6 )
  • C/C++ build toolchains
    • (MSVC is required on Windows platform)

Command

Origin way:

mkdir build
cd build
cmake ..
cmake --build . --config=Release

or use script,

# on gnu/linux or macos
./build.sh

# or on windows os
./build.ps1

Components

  • DateTime
    DateTime is a C++ time format and operate class (Deported from dotnet core source code)

Usage

All components supports chaining methods style.

Take DateTime class for example:

auto date = CppEnhanced::DateTime()
    .SetYear(2023)
    .SetMonth(1)
    .SetDay(4)
    ;
printf("%s\n", date.ToString(1).c_str());
// Output: 2023.1.4

License

We are using AGPLv3.0 now.

More

About

A library has advanced supports for c++ developers.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published