nmea 0183 coder/decoder, C++