I don’t know if it is possible to make my UI display results of calculations made with cpp code in ListBox or wxPanel.
Can someone assist me on this confusion?
Do I have to:
- write the formulas in wxWidgets(if is possible) or
- there is a way to make my UI communicate with the C++ source code?
I am prefer the 2nd option.
I don’t understand the problem. You’re talking about wxWidgets as if it ISN’T a C++ library. But it IS.
Why do you thing wxWidgets is not a
c++
library? I could not find any info in the documents on this issue That is because its a non issue. Whoever led you to believe it was an issue is wrong.@ManCed, you have multiple options depending what you want to achieve and how big/long the calculation takes place. Are you saying that your calculation is written in C++ and you just want to display the results? Did you look at the samples directory of wxWidgets distribution? I suggest you do, even if you are not working with windows.
Thanks Igor. I will check. The calculations are actually big I am trying to make a metallurgical accounting desktop app.@drescherjm what I meant is that I did not see any tutorials on calculations using wxwidgets.
@ManCed, understood. I hope you already have a design for you input panel. Take a look at the widgets sample in the same directory. Basically what you will do is design the input form and then click ok. At that time you program will read the file and perform you calculations. And then will give you the result that you can present back to the user. But you should start with designing input form. I presume you are on Windows? What compiler/IDE will you use?
Show 4 more comments