Wednesday 2 September 2009

Write a c programming code to create simple paint brush software


Write a c programming
code to create simple paint brush software or application

#include

#include

#include

#include

void main()

{

int x,y,b,px,py,c,p,s,cl;

int d=0,m;

union REGS i,o;

initgraph(&d,&m,"c:\tc");

i.x.ax=1;

int86(0x33,&i,&o);

i.x.ax=8;

i.x.cx=20;

i.x.dx=450;

int86(0x33,&i,&o);

printf("Brush style insert number from 0 to 5  : ");

No comments:

Post a Comment