Click to See Complete Forum and Search --> : Final year project


fonzy
March 16th, 2001, 07:06 AM
I am new to visual c infact i have never used it before. I have done a project on a gadget that calculates the co-ordinates of objects and stores them in a file. I used turbo c to implement this. I was wondering if someone could tell if it possible to read the file and represent those co-rdinates graphically using viaual C. This is urgent because i am running out of time. The representation would be in 2-d ie just the x and y cordinates.
I will be very grateful if somene can help.
thanks alot guys

shree
March 16th, 2001, 07:14 AM
You can read the values just as you did in Turbo C, by using fopen() and fclose(). For displaying them graphically, you can use the API functions MoveTo() and LineTo().

By the way, this is a Visual Basic forum. And if you are new to Visual C++ and are running out of time, Visual Basic is a better option for you.