[plug] C help (only slightly Linux)

Navarre navarre at omen.net.au
Tue Jul 14 15:13:18 WST 1998

Shackleton, Kevin wrote:
> I sent this yesterday but it disappeared . .
> I have a project to program an HP200LX to read GPS data files that look
> like this:
> $GPXTE,A,A,,,N*3C
> $GPBWC,051808,,,,,,T,,M,,N,*12
> $GPRMC,051809,A,2451.22,S,11343.69,E,001.6,284.7,030798,,*07
> $GPRMB,A,,,,,,,,,,,,V*71
> $GPR00,,,,,,,,,,,,,,*45
> $GPGLL,2451.22,S,11343.69,E*7F
> $PGRMZ,-499,f,2*33
> I have a program for DOS in Pascal but the async library locks the HP.
> A C
> async library I've got works OK.
> However I'm not a C programmer.  I tried the P2C utility to convert my
> program
> to C but that didn't cut the mustard in this case.
> The main trouble I'm having is finding the best way to cut out the bits
> of data I want.  In Pascal I'd do a copy() (which is a mid$() in Basic).
> P2C helpfully converted copy() to strsub(), which does not exist in
> Borland C.
> Is anyone interested in a Borland C co-development (ie you do it, I take
> the credit), or can someone recommend a C book that deals with string
> handling - the couple I've got practically ignore this area.
> K.

Hello Kevin

I have a good knowledge of programming in C and done a fair bit of
reading and analysing data. What your have shown as a sample look
simple. Call me on 018 909 695.

- Regards Navarre -
<navarre at omen.com.au>

More information about the plug mailing list