I am very new to C++ programming…
I was assigned an assignment to do a SkipList in C++ that will do some functionalities..
Apart from these functionalities, there was also the following included:
Export the Skip List to a .DOT file that can be rendered in GraphViz
Any ideas how I can do this?
Also, I need to export the DLL so that I can use it in either Java or else in C#..
any help is greatly appreciated
Thanks
If you’re looking to use C++ code in Java, check out JNI. It requires you to modify your C++ code with JNI wrappers (see the Wikipedia link for examples).
C#, on the other hand, can call DLL functions which are exported normally, i.e. with
extern "C" __declspec(dllexport), via PInvoke.