sunset3002
29-03-2005, 06:02 AM
الله يعطيك العافية أخوي ibn-alqalam بس المشكلة إني عارف هاالبرنامجين وش تسوي بالضبط ولكن الشي اللي ماني فاهمه مثلا أجزاء من الكود مانب عارف وش تسوي أو ايش الغرض من كتابتها وعشان أسهل أكثر أنا بأكتب ها الأجزاء في الأسفل وأبي منك لو تكرمت تقولي ويش الغرض منها. ?Allright.
Once again i will be so greatful to you.
void far initgraph (int far *graphdriver,int far *graphmode,char far *direct);
.....
.....
graphdriver=EGA
graphmode=EGAHI
initgraph (&graphdriver,&graphmode,"\\tc2")0
......
......
......
getche ()0
_________________________________________________________
.....
.....
............
xincrement = dx /(float)steps
yincrement = dy / (float)steps:biggthump
setPixel(ROUND(x),ROUND(y))0
for(k=0;k<steps;k++)0
x+=xincrement
y+=yincrement
__________________________________________________________
KIND REGARDS:biggthump:biggthump :hello: :hello: :hello:
Once again i will be so greatful to you.
void far initgraph (int far *graphdriver,int far *graphmode,char far *direct);
.....
.....
graphdriver=EGA
graphmode=EGAHI
initgraph (&graphdriver,&graphmode,"\\tc2")0
......
......
......
getche ()0
_________________________________________________________
.....
.....
............
xincrement = dx /(float)steps
yincrement = dy / (float)steps:biggthump
setPixel(ROUND(x),ROUND(y))0
for(k=0;k<steps;k++)0
x+=xincrement
y+=yincrement
__________________________________________________________
KIND REGARDS:biggthump:biggthump :hello: :hello: :hello: