Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 1.39 KB

README.md

File metadata and controls

19 lines (17 loc) · 1.39 KB

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/