Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: #include <stdio.h> #include <windows.h> // or other WinApi header int main() { HANDLE hConsole; int k; hConsole = GetStdHandle(STD_OUTPUT_HANDLE); for(k = 1; k < 25; k++) { SetConsoleTextAttribute(hConsole, k); printf("%2d %s\n", k, "I want to be nice today!"); } getchar(); // cheap wait return 0; } |
The End.