WEBGRAMMING ASSIGNMENT #2
Create a C program which draws your three initials on the screen using the graphics.h functions within C. Your initials must be minimally block letters (i.e., no single line representations). The resulting image should be in color.
The program should:
The program should be compiled and stored on your RICS account and named pa2.exe.
The compiler will need the file:
egavga.bgi
to correctly utilize the graphics.h functions. Copy this file from:
j:\applicn\tcplus\bgi\egavga.bgi
to your local directory which contains the c source files.
SAMPLE C:
Click here to get a sample c program with some elementary animation and graphics. You can use it as a template for your remaining programs.
After you see the demo.c file on the screen, click on FILE, then SAVE AS and save it to your account. Compile it and run it.
FLOWERS.C
Thsi is the output of flowers.c.
As an example, click here to get the source.
Compile it and try it!