March 31, 2019
It seems there are an immense number of GUI libraries for C++ which caused me to raise a few questions.

Why are there so many in the first place? (Obviously they offer some advantage over one-another or, in theory, the best one would be the only one.)

Can I write a command line program and then add a GUI later? (How much code would that involve re-writing?)

Which libraries/toolkits are common in professional program development? (Or do they just write their own libraries from scratch?)

What do YOU use to add a GUI to your programs?
March 31, 2019
On Sunday, 31 March 2019 at 12:15:44 UTC, Vindiesel walker wrote:
> It seems there are an immense number of GUI libraries for C++ which caused me to raise a few questions.
>
> Why are there so many in the first place? (Obviously they offer some advantage over one-another or, in theory, the best one would be the only one.)
>
> Can I write a command line program and then add a GUI later? (How much code would that involve re-writing?)
>
> Which libraries/toolkits are common in professional program development? (Or do they just write their own libraries from scratch?)
>
> What do YOU use to add a GUI to your programs?

Regarding the question wheter you can add a gui later. It heavily depends how you write your applications. If you mix the the command line code with the actual business logic, you will have a hard time to add a gui on top.
If you separate the business logic than it will be an easy task. In my opinion, TDD helps to learn how to structure your application best.

I currently try to write my GUI in Delphi (fire monkey) while most coding will be in D. I haven't found here the best way, still investigating...

Kind regards
Andre