A
A
Alrond21982020-07-12 19:19:57
C++ / C#
Alrond2198, 2020-07-12 19:19:57

What is the best way to implement a GUI?

I have a ready-made C++ console application whose task is to calculate something. I want to attach a graphical interface to this. What would be better to do: write an interface in C# and use all sorts of scary constructs to pass values ​​between program modules in different languages, or just rewrite the entire program in C#? And should I try to use only one language in the future, or is it non-critical?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ronald McDonald, 2020-07-12
@Alrond2198

Crosses? Well, Qt.

E
Eugene, 2020-07-12
@jenya92

If the task is to fasten the graphical interface - you can do it with the help of GTK +, a simple graphical interface is screwed in just a couple of steps.

V
veydlin, 2020-07-12
@veydlin

If you don’t have anything fierce-heavy-exotic, then write everything at once in sharp
. Solution ala "logic in c ++ and representation in c #" our proger loves very much, but he usually writes such fierce mathematical algorithms from which my head is spinning , in this case it is justified. Just compile the plus code as a dll and link it to a sharp
. Oh, yes, if you don't need a cross-platform program, then just write on the sharp, development is many times faster on it.
What work does your code do?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question