a516@mindlink.UUCP (Jordan Melville) (09/22/90)
What is the best way to get a data file created with Turbo Pascal into C? The problem is that before a data field in Turbo Pascal they have a length specifyer, and that strings are not null terminated. There must be a realtively easy way to do it, but as of yet I'm unsure what the best way to would be. Jordan. -- ------------------------------------------------------------------------------ Jordan C. Melville Voice: (604) 943-7155 Vancouver, BC BBS: (604) 943-3503 (2400baud) "We want the world and UUCP: {uunet,ubc-cs}!van-bc!rsoft!mindlink!a516 we want it now!" - The Doors a516@mindlink.UUCP "So what you're saying is a 11 voice adlib is better than a 32-track MT-32? Sounds logical to me." - Me.
jacob@latcs1.oz.au (Jacob L. Cybulski) (09/24/90)
From article <3270@mindlink.UUCP>, by a516@mindlink.UUCP (Jordan Melville):
> What is the best way to get a data file created with Turbo Pascal into C?
Why not writing a couple of string conversion functions, strP2C and strC2P,
which will translate (and perhaps truncate strings).
Jacob