Help with pointer c++

Dec 28, 2015 at 1:01am
"Write a program to read the path information
from a document “path.txt”. The document
contains the number of steps and the distance
and angle of each step. After reading the
information and the starting coordinate,
calculate the coordinate where each step
finished and list them in a table. "
"
path.txt (read file)
100 0
150 45
50 -30
80 -60
100 90


I have no idea how do I write this.
Can anybody help me up of this?
Dec 28, 2015 at 1:16am
Well, I dont see what it has to do with pointers?

http://www.cplusplus.com/doc/tutorial/files/

Youtube works too.
Dec 28, 2015 at 3:51am
Make sure you understand the math needed before trying to code it. Can you do the first 2 or 3 points with a calculator?
Topic archived. No new replies allowed.