Hi there. I'm new to the forum so go easy on me.
I've tried researching this but don't seem to be able to find an (appropiate) answer.
I want to write a program that will ask the user for x and y (coordinate) values and draw a line between these values.
I've posted on another forum but didn't really get anywhere. Long story.
I downloaded MS Visual C++ 9.0 Express Edition recently and was using that, but was told (the other forum) that I'd need the MFC which it doesn't have. I also have Visual C++ 6.0 from a few years back. With this I am able to create a Windows based program and manipulate the toolbars to produce my own commands and dialog boxes.
However, no where on the web can I find code (that works!) to display a line. Actually show the line. Not as some websites show, a series of x's across the screen. Kind of a very basic CAD program.
Can this be done in C++. I suppose that is really my first question.
My second? If not, what should I be using.
Thanks for your time.
Alan.