cross-platform console library
beta 2.0: add Console::Color
license: LGPL-3.0
GitHub address: https://github.com/lrcno6/console
Console is a cross-platform console library. You can move the cursor, use colors and so on.
it runs everywhere (in theory) (tested on Windows (MSVC), Windows (MinGW) and linux (g++))
you should make first:
make linux # for linux (g++)
make windows_msvc # for Windows (Visual C++)
make windows_mingw # for Windows (MinGW)
and then link to libconsole.a or console.lib:
# for example
g++ user.cpp -o user -Lconsole -lconsole -lcurses # for linux (g++), remember to link to libcurses
cl user.cpp console/console.lib # for Windows (MSVC)
g++ user.cpp -o user -Lconsole -lconsole # for Windows (MinGW)
welcome to contribute to console
by lrcno6