how to interface a c++ program with some gui software?
Maha
2010-09-03 10:01:17 UTC
how to interface a c++ program with some gui software?
Five answers:
Shadow Wolf
2010-09-03 17:17:27 UTC
Depending on the platform, build the program into a GUI. Exactly how you do that varies a bit depending on what compiler, platform , programming language and what you are trying to do. Most important is the fact that you need the source code to do this. You also generally have to use the same programming language but you can create pieces using alternate programming languages though it is a bit more work to join them all.
Some programs are still completely command line programs. The GUI is just an interface program that runs the command line program with all the correct parameters from the GUI. This is the general solution for compiled programs that you might not have the source code for. Building the GUI again depends on compiler, platform, programming language etc. Note that if you build a GUI separate from a command line program that it allows the use of any language of your choice for the GUI. For example, the command line program could have been written in C++ while the GUI could be written in Visual Basic.
If you are writing the program for the Windows platform, the most common would be to simply use Visual C++ and compile it all to native Windows.
As to the actual interface? That would depend on the program. You have to nearly become an expert in the use of the command line program to make a good GUI for it.
Shadow Wolf
anonymous
2016-12-10 14:30:05 UTC
so a techniques as i'm in contact, you do it your self. It relies upon on your programming ecosystem and language. rather a lot each programming language editor in recent times would be waiting to place out your interface precisely the style you choose for it. do you recognize what an interface for a application truthfully is? that is in basic terms the place the buttons are, what they do and how the uncomplicated enter of your classes works. particularly, you in basic terms would desire to get the interface to verify what you choose for to do. make sure that each button does something, that they are labelled properly, with tips that look as you hover over them, if that is not any longer already obtrusive what's happening, super format, and my ordinary is making specific that any fool who double-clicks while they ought to single-click would not finally end up exiting this technique or deleting all the information.
Robert
2010-09-03 10:05:10 UTC
Most large scale off-the-self applications will include an SDK (Software Development Kit) that includes DLL's to allow programing to write native calls using custom apps.
I would check with the vendor to see if they provide an SDK.
deonejuan
2010-09-03 11:53:03 UTC
wxWidgets is cross-platform. Somewhat like GTK+, but it has more widgets and more API. There are drag-n-drop programs that offer some graphical layouts, but for the most part you code the frontend.
QT is the most beautiful IDE / dialog maker.
Bear in mind that QT is free for students, takes a license for pros. GTK+, wx are OSS.
anonymous
2010-09-03 10:03:47 UTC
this is kinda platform dependent question, what os and compiler are you using?
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.