Currently i am working on a program that will find the actual distance between two points on a grid. It also determines the angle of the line segment in degrees. Now, i need it to be able to find any other points on or near the line. It will be running in a loop to find each additional point sequentially until all the points have been plotted. Unfortunately, I am not entirely sure how this is done. So far, I think that I could develop an algorithm that converts the angle into a ratio of vertical movements to horizontal ones. Please tell me if I am on the right track. I have only been programming in c++ for a few months so any tips are greatly appreciated.
I think you should start using OpenGL or DirextDraw/3D; the console will simply be too hard to work with when you're drawing lines and performing more complex operations.
I've read that D3D/Draw is specifically aimed at games, whilst OpenGL is more used in professional contexts. In addition, OpenGL is open source and cross-platform. Thus I recommend OpenGL, but don't put too much weight on it; I have never tried Direct*.
I am assuming that your formula would have to be used twice, once for the X coordinate and once for Y coordinate? Or is this where the vector class comes in?