Answers for "c++ console output color"

C++
2

c++ console color

SetConsoleTextAttribute(console, ((int)background * 16) + (int)forground);
Posted by: Guest on May-29-2021
0

c++ colored output

Black 33[0;30m

    Red 33[0;31m

    Green 33[0;32m

    Yellow 33[0;33m

    Blue 33[0;34m

    Purple 33[0;35m

    Cyan 33[0;36m

    White 33[0;37m
Posted by: Guest on January-17-2021

Browse Popular Code Answers by Language