Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.11 KB

README.md

File metadata and controls

64 lines (43 loc) · 1.11 KB

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