force=1am
08-30-2000, 09:55 AM
I need the standard c function to draw straight line for my homework. The Professor does not want me to use any package(OpenGL, DX ...). Can anyone help me? He want me to draw in dos mode.
thanks
thanks
| //flex table opened by JP
Click to See Complete Forum and Search --> : any C/C++ expert? I need help force=1am 08-30-2000, 09:55 AM I need the standard c function to draw straight line for my homework. The Professor does not want me to use any package(OpenGL, DX ...). Can anyone help me? He want me to draw in dos mode. thanks qball 08-31-2000, 12:06 AM Right! I'm going to do your homework as soon as you do my laundry. Iffin you wanna **** off your teacher, use; ================================ try { cout<<"___________________________"; } catch (IdiotException e) { System.out.println("Aye carumba"); } Oops, watch that syntax! [This message has been edited by qball (edited 08-30-2000).] force=1am 08-31-2000, 10:35 AM great but i need diagonal line. I have to use the line to draw a circle. - / \ \ / _ or something like that. swany 09-03-2000, 05:32 AM To draw a line in c :-- line(x1,y1,x2,y2); To draw a circle :-- circle(x1,y1,r); where x1,y1 are coord of center & r is the radius. dont forget to switch to graphics mode before executing above program. swany http://techieinfo.cjb.net SysOpt.com
Copyright Internet.com Inc. All Rights Reserved. |