Help with pointer c++

"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?
Well, I dont see what it has to do with pointers?

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

Youtube works too.
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.