G
gtpilot
I have a program that is going to return position data several times a
second. Instead of printing this data to the screen on new line every
time, I would like to simply have the program print "Position: XX" on
one line, adn then update the XX every time there is new data.
I am working with just a simple console app in Linux.
Someone had mention fstream and seekp but I was wondering if anyone had
a bit more guidance or somewhere to look, perhaps a good primer on
using fstream with the screen buffer (almost everything about fstream
that I found relates to using it with a file).
Thanks
second. Instead of printing this data to the screen on new line every
time, I would like to simply have the program print "Position: XX" on
one line, adn then update the XX every time there is new data.
I am working with just a simple console app in Linux.
Someone had mention fstream and seekp but I was wondering if anyone had
a bit more guidance or somewhere to look, perhaps a good primer on
using fstream with the screen buffer (almost everything about fstream
that I found relates to using it with a file).
Thanks