Hi, I'm fairly new at programming with C++. I'm trying to develop a program which generates GPS strings then sends them to another computer through the serial port. The problem I have is taking a number of variables (including ints, floats, strings) and put them together in a single long string like the following:
$GPRMC,012744,V,3840.2230,S,17801.9449,E,0.000,0.0 ,070602,20.9,E*43
Do I have to use stringstreams or something?
Any help would be greatly appreciated thanks.