Implement Bouncing Ball Animation Using C Graphics #include <stdio.h> #include <conio.h> #include <graphics.h> #include <dos.h> void main() { /* request auto detection */ int gdriver = DETECT, gmode, err; int i = 0, x = 0, y = 0, flag = 0; /* initialize graphic mode */ initgraph(&gdriver, &gmode, "C:/TC/BGI"); /* ball movement */ while (x <= getmaxx() && !kbhit()) { /* set the current drawing color */ setcolor(LIGHTRED); /* fill the ball with given pattern & color */ ...
Founder Of C Programming ~~ Dennis Ritchie Some Introduction to C Programming C language was developed by Dennis Ritchie between 1969 and 1973 at AT&T Bell Laboratories. C was initially designed to develop system software. Because of its simplicity, flexibility and portability, it is also used to develop application software. Most of the features in C are derived from "B" programming language. That is the reason why the new language was named as "C". C is a high level language but it lacks features like garbage collection, object orientation which are usually available in high-level languages. C is a structured programming language. Because, C provides many features like functions, if statements, loops, blocks etc. Appication Of It Used to develop firmware for micro controllers, operating system, device drivers etc. Major programming languages like PHP, Perl , Python etc. are written in C Used to develop application softwares lik...