i've been trying to find the slope to calculation of the x and y coordiantes. i just cant figure it out.  i've been at this for hours. this is my first time programming so i don't know much.
the program needs to work for any dimension (i.e. 100 * 100 or 100 * 300 )
there is a function called DrawLines () in my program. All i need is a yellow diagonal line. Nothing in the program needs revising except for inside that Draw_Lines function.
Draw Lines
if you can e-mail me back the C file at sht49781@yahoo.com or post it here would be very much appreciated.
thanks a lot.
			
			the program needs to work for any dimension (i.e. 100 * 100 or 100 * 300 )
there is a function called DrawLines () in my program. All i need is a yellow diagonal line. Nothing in the program needs revising except for inside that Draw_Lines function.
Draw Lines
if you can e-mail me back the C file at sht49781@yahoo.com or post it here would be very much appreciated.
thanks a lot.
				
		
			