I've recently built Quantlib and am trying now to find a decent charting library for use with Quantlib. Has anyone used Quantlib and what did you use for charts?
Has to be in C++. Dynamically or Statically linked.
Thanks
May be can have take a loot at ChartDirector, which has a C++ edition.
Related
From the last few days, i am trying to figure out best reporting tools for my work. I have mongoDB database server and now i need to integrate it with reporting tool. For mongoDB i used the C binding so i am looking for a reporting tool in C/C++. I came across some great tools like BIRT, Jaspersoft and Pentaho but i didn't get clean answer whether they have support for C/C++. So my question is do they have C/C++ binding or API?.
Also if you have some other tools recommendation for my work then please share that also.
To answer your question: No, these tools don't have a C/C++ API.
However, as Stennie pointed out in the comment, this shouldn't really be necessary, as you can use them with a http API. If you really want to use integrate them tightly with a C/C++ program, consider embedding Java into your program and see Embed Java into a C++ application?.
I am using unity3D for the first time to develop a game.I have written a code in c++ using Opencv and the code consist on many files.Now I want to apply the result computed by c++ code to a 3D character.
How i can use my c++ code in unity.Please help me.Remember I am using OpenCV Libraries in my c++ Code.
Thanks!!
You need to write a DLL file and use it within Unity. There is many examples on how to do so.
http://docs.unity3d.com/Manual/Plugins.html
If you have some money you can also purchase the Unity source code that is written in c++ though that seems a bit overkill.
did some googlefu...
C++ is not a scripting language, and can only be used with Unity in the form of plug-ins (in the Pro version). C# is closer in syntax to C++ than Javascript is.
http://answers.unity3d.com/questions/12809/can-i-use-c-as-a-scripting-lanques-for-unity.html
(couldn't find anything that contradicted that)
although these might be of interest:
https://gamedev.stackexchange.com/questions/82518/is-it-possible-to-use-c-with-unity-instead-of-c
http://blogs.unity3d.com/2014/05/20/the-future-of-scripting-in-unity/
New to Gtk. I tried to compile a GtkSocket example in c, but it gives error unknow type name 'GtkSocket'.
Is it supported in Windows OS?
If not, is there any way I can embed gvim in a gtk+3 applicaton?
Also is there any link where can I know which Gtk feature is supported on which OS?
Thanks
From reference manual:
The GtkPlug and GtkSocket widgets are now X11-specific, and you have
to include the gtk/gtkx.h header to use them.
Afaik, there is no list of features supported by which backend/os. For APIs difference, GtkSocket is pretty much the biggest difference. But there are several backend specific APIs, usually with a different namespace, such as x11/win32.. This is quite common with portable libraries.
I don't know a proper way to embed an application on win32. There are other stackoverflow questions about this, since this is not gtk specific. For example QT How to embed an application into QT widget that you could adapt to Gtk+ application.
I have written some code that relies on the Qt4 library and was using it in some projects. It deals with displaying PDFs, printing and so on and employs the poppler library
My new project is made using Qt5, and I need those functionalities in it.
My qt4 library is represented by DLL that simply returns an object of QWidget-derived class.
Is it possible to use this QWidget inside my new qt5 project? Maybe after some wrapping?
Also, while exploring this issue I came by to Qt plugins. I haven't researched this field yet, but may be it's possible to resolve the problem using them?
Thanks in advance.
Qt 4 and Qt 5 are not binary compatible, so no, you can't use the widget directly. Using both Qt 4 and Qt 5 inside the same application sounds like a dangerous idea...
The best bet is of course porting libpoppler to Qt 5 (have you evaluated how complex such a port would be? Probably not too much). The second best would've been using QX11Embed, but those classes are currently missing from Qt 5, awaiting for someone to port them to QPA / XCB.
Are there any good SFTP libraries other than libssh2?? I'm especially looking for a library that is very easy to integrate and manage! As libssh2 is completely written in C, I find adding extensions to the existing code base rather difficult!
Thanks!!
There are some Objective-C wrappers for libssh2 on GitHub:
NMSSH by Lejdborg (personally, this is my favourite. Super easy to use and well documented)
libssh2_sftp-Cocoa-wrapper by karelia
DLSFTPClient - by Leehro
And some more... These are the most popular ones.
If you are developing using Swift, below wrapper libraries can be used.
SwiftSH - A Swift SSH framework that wraps libssh2.