Created
November 13, 2017 15:05
-
-
Save winhtut/35f3f32240e4139946ee793f0ec6f907 to your computer and use it in GitHub Desktop.
c++ color code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<Windows.h> | |
#include<stdint.h> | |
#include <iostream> | |
#include<conio.h> | |
int main() { | |
for (int i = 0; i <100000000000; ++i) { | |
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), i); | |
printf("Text colorin use= %d\n", i); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment