Skip to content

Terraminator/color_escape

Repository files navigation

color_escape

Simple example for using ansi escape codes in c++

  ______   ______    __        ______   .______             _______     _______.  ______     ___      .______    _______ 
 /      | /  __  \  |  |      /  __  \  |   _  \           |   ____|   /       | /      |   /   \     |   _  \  |   ____|
|  ,----'|  |  |  | |  |     |  |  |  | |  |_)  |          |  |__     |   (----`|  ,----'  /  ^  \    |  |_)  | |  |__   
|  |     |  |  |  | |  |     |  |  |  | |      /           |   __|     \   \    |  |      /  /_\  \   |   ___/  |   __|  
|  `----.|  `--'  | |  `----.|  `--'  | |  |\  \----.      |  |____.----)   |   |  `----./  _____  \  |  |      |  |____ 
 \______| \______/  |_______| \______/  | _| `._____| _____|_______|_______/     \______/__/     \__\ | _|      |_______|
                                                     |______|                                                            

image

Setup

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

Ascii Art

The Ascii Art is made with: https://patorjk.com/software/taag/

About

Simple example for using ansi escape codes in c++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages