Simple example for using ansi escape codes in c++
______ ______ __ ______ .______ _______ _______. ______ ___ .______ _______ / | / __ \ | | / __ \ | _ \ | ____| / | / | / \ | _ \ | ____| | ,----'| | | | | | | | | | | |_) | | |__ | (----`| ,----' / ^ \ | |_) | | |__ | | | | | | | | | | | | | / | __| \ \ | | / /_\ \ | ___/ | __| | `----.| `--' | | `----.| `--' | | |\ \----. | |____.----) | | `----./ _____ \ | | | |____ \______| \______/ |_______| \______/ | _| `._____| _____|_______|_______/ \______/__/ \__\ | _| |_______| |______|
First of all you have to compile the script just open the .sln file with Visual Studio and press run, then the Ide will do the work for you and compiles automatically. If you run this script you will see the string "Hello World" in different colors! If you are on linux just compile main_linux.cpp and use this binary
The Ascii Art is made with: https://patorjk.com/software/taag/