
Coordinate Plane
Hello. I would like to make a coordinate plane. If i would have two coordinate. (2,1) and (4,2), for example it would plot a line passing through those two points. if anybody could direct me on how to do this, it would be appreciated. keep in mind, i have no idea how to.

well i would draw a big grid... where there is a definite address in each intersection.. like in BGI graphics mode say
Code:
10,10 15,10 20,10
10,15 15,15 20,15
 

 

 
and so on...
and i will have functions which when i say connect(1,1,1,2)
which means connec 1,2 and 1,1
i will convert that to the actual position on the screen
say 1,1 might be 10,10 and 1,2 might be 10,15..
then i would call the function, line(10,10,10,15) which will connect those tow points...