Modern cross platform C++ header only library which features many useful utility functions which can be used in your personal project. ALib provides many usefull functions which are not available in the built in or standard C++ library like decorating a text.
The motivation of this project is to get rid of writing most/frequently needed functions/codes again & again for different project. Which is tedious & not the progrmmatic way of doing things. Also this library packs some decorating functions.
- Cross Platform - The same function works on Windows, Linux and Mac OS
- Extremely extensible - The ALib is very modular as it is function based. So you can easily change or add features to a function as you need by modifying the source code.
- Supports colored decorations - ALib uses a 3rd Party library called rang to produce colored text output.
- clrscr
- consoleWidth/terminalWidth
- consoleHeight/terminalHeight
- countdown
- showLoadingScreen
- horizontalLine
- verticalLine
Download the alib.hpp
from the Releases section & copy it to the /usr/include
folder & that's it
Arch users can install the library from AUR easily using yay
yay -S alib
Contributions are always welcomed to this project. Contributing to this project is very easy and needed too. Any beginner level C++ programmer can contribute to this project. Any bug report or bug fix or addition of new features to this library will be very helpful.
You can learn more about contributin to this project by reading this documentation
If you face any issue or want to submit new ideas to be implemented in ALib please open a new issue by clicking here
It is recommended to use the dev
branch while doing developement works and then make a pull request