Now you can Subscribe using RSS

Submit your Email

In c language output screen text color

A LIFE ABK







c/c++ program solver,c++ program, new program, program code ,programing question

In this program, we are telling this. How to change the text color of the output screen.



   
   
  #include
#include
int main()
{
    int i;
    for(i=0;i<15;i++){
      SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),i);
    printf("hello world\n",i);
    }
 
}
                 



Output Screen



c language text color, c language color


Recommended Post

    		   
     c program for multiplication of two matrices
     c program fibonacci series using recursion
     coprime number program
     c program swap two numbers using pointers
    


A LIFE ABK / Author & Editor

0 Comments:

Post a Comment

Please do not enter any spam link in the comment box.

Coprights @ 2021-2022, Ancient Code Designed By AbK