I need to translate a small C++ code to Igor code. I was wondering if there is any documentation or glossary of keywords for going from C++ to Igor. Thanks
The help in IGOR is pretty useful. If you're new to IGOR I would take the IGOR guided tour.
DisplayHelptopic"Getting started"
But for a quick start, what are you trying to do/port?
(Did you know that C++ code can be used to create a DLL that can be called from IGOR?)
Actually the reverse is true in my case :), my programming experience is only in Igor coding. I dont know much about C++. I notice that there are some similarities, but also many keywords/calls i am not familiar with. That is why i was wondering if there was a glossary for going from C++ to Igor.
Yeah i know you can create a DLL and then write an XOP to call it from Igor but i am afraid that is way beyond my programming skills.
If it's truly C++ (and not just C written in a .cpp file, a common thing for scientists) then the programming paradigm can be confusing if you're not used to object-oriented code.
How much code is there? If it's not more than 100 lines or so, try posting it and we can maybe offer some guidance.
But for a quick start, what are you trying to do/port?
(Did you know that C++ code can be used to create a DLL that can be called from IGOR?)
October 26, 2010 at 12:15 am - Permalink
Actually the reverse is true in my case :), my programming experience is only in Igor coding. I dont know much about C++. I notice that there are some similarities, but also many keywords/calls i am not familiar with. That is why i was wondering if there was a glossary for going from C++ to Igor.
Yeah i know you can create a DLL and then write an XOP to call it from Igor but i am afraid that is way beyond my programming skills.
October 26, 2010 at 04:36 am - Permalink
How much code is there? If it's not more than 100 lines or so, try posting it and we can maybe offer some guidance.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
October 26, 2010 at 09:09 am - Permalink