https://github.com/dynesshely/cppenhanced
A library has advanced supports for c++ developers.
https://github.com/dynesshely/cppenhanced
cmake cpp cpp-library
Last synced: about 1 year ago
JSON representation
A library has advanced supports for c++ developers.
- Host: GitHub
- URL: https://github.com/dynesshely/cppenhanced
- Owner: Dynesshely
- License: agpl-3.0
- Created: 2023-02-13T19:36:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-27T08:20:27.000Z (over 2 years ago)
- Last Synced: 2025-02-28T22:43:39.795Z (about 1 year ago)
- Topics: cmake, cpp, cpp-library
- Language: C
- Homepage:
- Size: 75.2 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# 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:
```shell
mkdir build
cd build
cmake ..
cmake --build . --config=Release
```
or use script,
```shell
# 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:
```cpp
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
- [In Wiki] [Add `Developer PowerShell for VS` profile to VSCode terminals](https://github.com/Dynesshely/CppEnhanced/wiki/Add-%60Developer-PowerShell-for-VS%60-info-your-VSCode)