Snake console game help.

I am making a console game and my logic is "to take the x and y of tail so clean the tail and add one position from the head,the new head."

The problem is that i can not find a good way to take the x and y of tail.
(i do not want use vectors,i want C style.)

Any help?
I found a solution.
Whoever wants to see my source code snake just say it down.
Oh, you are into BDSM.
In that case store all positions of segments in array and move all array elements by one each tick.
Topic archived. No new replies allowed.