comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Is there a way to use C++ code in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Is there a way to use C++ code in IDL [message #34207 is a reply to message #34206] Thu, 20 February 2003 09:08 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
David Fanning wrote:
>
> CelticBlues (idluser@celticblues.com) writes:
>
>> I have an ascii data file that I need to read. I already have C++ code that
>> will parse the file and store it in a structure. Is there a way to reuse
>> this C++ code in IDL so that I don't have to recode the parse routines?
>
> Yes, there is a way to reuse this code, but learning
> the methods to do it will far surpass (by many orders of
> magnitude) the time it will take (say 5 minutes) to
> learn to parse an ASCII file in IDL. :-)

That depends entirely on how complicated the syntax that it parses is.
If he's worried about the recoding effort, I doubt that the parsing is
simple enough to be a 5 minute job in IDL. With all due respect to IDL,
most things that can be parsed correctly by a 5-minute IDL program have
a fairly simple syntax.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: howto bind shortcut key to button
Next Topic: Check if coordinate is in array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 21:59:12 PDT 2025

Total time taken to generate the page: 2.08145 seconds