C Program to implement Hermite curves for a given set of control points.

Friday, October 2nd, 2009  »  Posted By  »  Total 2 Comments

point p1,p2;
printf(“Enter 2 hermite points:\n”);
scanf(“%d%d%d%d”,&p1.x,&p1.y,&p2.x,&p2.y);
printf(“Enter the tangents at p1,p4″);
scanf(“%d%d”,&r1,&r4);
cleardevice();

C Program to create a house and perform the operations.

Friday, October 2nd, 2009  »  Posted By  »  Total 1 Comment

C Program to create a house like figure and perform the following operations.
a. Scaling about the origin followed by translation.
b. Scaling with reference to an arbitrary point.
c. Reflect about the line y = mx + c.

C Program to implement the midpoint circle drawing algorithm

Friday, October 2nd, 2009  »  Posted By  »  Total 9 Comments

C Program to implement the midpoint circle drawing algorithm to draw a circle. Modify the algorithm toimplement specified arc or sector.

C program to implement Spiral Model

Friday, October 2nd, 2009  »  Posted By  »  Total 1 Comment

setcolor(YELLOW);
printf(“ENTER THE NUMBER OF RINGS IN THE SPIRAL MODEL\n”);
scanf(“%d”,&n);
printf(“Enter the origin point of the spiral”);
scanf(“%d%d”,&x,&y);

C Program to implement Kite flying

Friday, October 2nd, 2009  »  Posted By  »  Total 1 Comment

void main()
{
int gd=DETECT,gm;
int x=10,y=480;
initgraph(&gd,&gm,”..\\bgi”);
while(!kbhit())
{
cleardevice();
if(y==0)

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup

Email: