Menu

GRAPHICS Archive

Color Font and Background Adding color Text in C

Adding color Text in C In this article, we learn how to Display color font in the C programming language, without using getcolor() Function, Adding color Text in C like Opaque Text Color. Text Color In C #include<stdio.h> // back ground colours #define bgBlack “\e[40m” #define bgRed “\e[41m” #define bgGreen “\e[42m” #define bgYellow “\e[43m” #define

2d transformation in computer graphics program in C and C++ Animation

2d transformation in computer graphics program in c 2d transformation in computer graphics program in C and C++ animation program using initgraph(); function Graphics program Graphics program in c #include<stdio.h> #include<graphics.h> #include<conio.h> int main() { int gd=DETECT,gm; int i,j; initgraph (&gd, &gm, ” “); for ( i=200;i<400;i=i+25) { for( j=200; j<400; j=j+25) { circle(i, j,100);
Learn For Free.