From: Wolfgang Forstmeier on
{ please do not top-post in this group; see the FAQ. -mod }

QT and wxwidgets are C++ libraries.

--

"DarioProgramer" <oiradranlom(a)bellsouth.net> wrote in message
news:0e445f0d-b7fc-4daf-82b5-998991a3759f(a)30g2000yqu.googlegroups.com...
> I wanted to know if C++ has its own library for GUI (Buttons, Labels,
> TxtFields....) or do you have to use QT, wxwidgets?

{ edits: quoted banner removed. please remove extraneous material before
posting. -mod }

--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

From: Maciej Sobczak on
On 20 Sty, 19:29, Thomas Richter <t...(a)math.tu-berlin.de> wrote:

> The C++ standard does not define a GUI library, quite unlike Java.

Please note that a) Java does not have any standard and b) the spec
document for the Java language does not define GUI, either.

It just happens that some company that is involved in the Java
business provides the platform implementation that has a GUI library
(and battery) included.
Interestingly, this is also true for C++. ;-)

It is all a matter of perception, which is largely influenced by
marketing and other market forces.

--
Maciej Sobczak * www.msobczak.com * www.inspirel.com

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

From: Alex Strickland on
Maciej Sobczak wrote:

> It just happens that some company that is involved in the Java
> business provides the platform implementation that has a GUI library
> (and battery) included.
> Interestingly, this is also true for C++. ;-)

Give me a clue?

To all/any

In a related vein, I have a lot of old Borland code to upgrade/rewrite. I have
recently started trying to use the standard library much more, and I sure am
happy to swap all those "new []" for "vector". Hand in hand I would like to use
std::string more.

So there is tons of code using AnsiString which seems quite different to
std::string. If I upgrade to the latest version there will be tons of code which
should probably change to UnicodeString which seems similarly unrelated to
std::wstring.

I thought I'd look at qt, and what do I find, QString! An even quicker look at
U++ and I find String.

What is the problem with std::string (or std::wstring) and GUI libraries?

I know UnicodeString is probably there because of VCL, but what is a programmer
supposed to use?

Thanks
Alex

--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

From: Mathias Gaunard on
On 21 jan, 10:43, Maciej Sobczak <see.my.homep...(a)gmail.com> wrote:

> It just happens that some company that is involved in the Java
> business provides the platform implementation that has a GUI library
> (and battery) included.
> Interestingly, this is also true for C++. ;-)

What company exactly is involved in C++ and provides a platform-
independent GUI library?


--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

From: Maciej Sobczak on
On 22 Sty, 03:06, Mathias Gaunard <loufo...(a)gmail.com> wrote:

> > It just happens that some company that is involved in the Java
> > business provides the platform implementation that has a GUI library
> > (and battery) included.
> > Interestingly, this is also true for C++. ;-)
>
> What company exactly is involved in C++ and provides a platform-
> independent GUI library?

http://qt.nokia.com/
http://www.ultimatepp.org/

I'm sure there are others, but for the sake of argument these two
should suffice.

--
Maciej Sobczak * www.msobczak.com * www.inspirel.com

The C++ Database Access Library: http://soci.sourceforge.net

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]