Tuesday, July 28, 2009

Compile this following c++ program and tell me any compile issues and fix them (i'm in urgent with this quest)

compiler can be turboc2 or c3.....


the program is as follows:





#include"conio.h"


void main()


{


int gd=DETECT, gm;


initgraph(%26amp;gd, %26amp;gm, "c:/turboc3/");


for(int i=0; i%26lt;10; i++)


{


circle(330,180,10*i);


delay(100);


}


getch();


closegraph();


restorecrtmode();


}

Compile this following c++ program and tell me any compile issues and fix them (i'm in urgent with this quest)
we need the header file conio.h to compile.





Also why can you not test this file yourself?


No comments:

Post a Comment