By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,238 Members | 1,787 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,238 IT Pros & Developers. It's quick & easy.

creating windows

P: n/a
I am pretty new at this so forgive me if this is a stupid question, but is
there a simple way to create a window with C++... Maybe a library or
something with simple window commands?
Jul 22 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
"PHP2" <gp@nospm.hr> wrote...
I am pretty new at this so forgive me if this is a stupid question, but is
there a simple way to create a window with C++... Maybe a library or
something with simple window commands?


Yes, a library would be just the thing. However, to figure out
which library to use, ask the same question in a newsgroup for
your OPERATING SYSTEM because all those "window" things are not
part of C++ _language_.

Look up the appropriate newsgroup among those with the name
'comp.os.*'

Victor
Jul 22 '05 #2

P: n/a
On Wed, 19 Nov 2003 16:13:43 GMT
"Victor Bazarov" <v.********@comAcast.net> wrote:
"PHP2" <gp@nospm.hr> wrote...
I am pretty new at this so forgive me if this is a stupid question,
but is there a simple way to create a window with C++... Maybe a
library or something with simple window commands?


Yes, a library would be just the thing. However, to figure out
which library to use, ask the same question in a newsgroup for
your OPERATING SYSTEM because all those "window" things are not
part of C++ _language_.

Look up the appropriate newsgroup among those with the name
'comp.os.*'


Why is it people in here always say "go to a newsgroup covering your OS,
to find a library"? Please do direct to some cross platform library
instead, like www.wxwindows.org

br
socketd
Jul 22 '05 #3

P: n/a
Socketd wrote:
On Wed, 19 Nov 2003 16:13:43 GMT
"Victor Bazarov" <v.********@comAcast.net> wrote:

"PHP2" <gp@nospm.hr> wrote...
I am pretty new at this so forgive me if this is a stupid question,
but is there a simple way to create a window with C++... Maybe a
library or something with simple window commands?


Yes, a library would be just the thing. However, to figure out
which library to use, ask the same question in a newsgroup for
your OPERATING SYSTEM because all those "window" things are not
part of C++ _language_.

Look up the appropriate newsgroup among those with the name
'comp.os.*'

Why is it people in here always say "go to a newsgroup covering your OS,
to find a library"? Please do direct to some cross platform library
instead, like www.wxwindows.org

br
socketd


Because may embedded systems don't use WxWindows. There are other
cross platform libraries.

Also, what is wrong with use a platform specific library when you
are creating a platform specific application.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #4

P: n/a
On Thu, 20 Nov 2003 14:40:26 GMT
Thomas Matthews <Th**********************@sbcglobal.net> wrote:
Because may embedded systems don't use WxWindows. There are other
cross platform libraries.
wxEmbedded, but we are not just talking about wxWindows.
Also, what is wrong with use a platform specific library when you
are creating a platform specific application.


How do you know it is platform specific? Most posters just ask questions
about libraries for GUI, network and database access. So why not
recommend free and cross platform libraries?

socketd
Jul 22 '05 #5

P: n/a
"Socketd" <db@traceroute.dk.NO_I_DONT_LIKE_SPAM> wrote...
On Thu, 20 Nov 2003 14:40:26 GMT
Thomas Matthews <Th**********************@sbcglobal.net> wrote:
Because may embedded systems don't use WxWindows. There are other
cross platform libraries.


wxEmbedded, but we are not just talking about wxWindows.
Also, what is wrong with use a platform specific library when you
are creating a platform specific application.


How do you know it is platform specific? Most posters just ask questions
about libraries for GUI, network and database access. So why not
recommend free and cross platform libraries?


"Free" doesn't matter. "Cross-platform" only makes sense if
the platform the inquirer wants is among those that library
supports, and the OP didn't state what platform he wanted, did
he? So, why recommend something that is not guaranteed to
work for the OP? If he asks in a newsgroup for _his_ platform,
he would very likely get the _correct_ answer, wouldn't he?
Jul 22 '05 #6

P: n/a
On Thu, 20 Nov 2003 15:24:04 GMT
"Victor Bazarov" <v.********@comAcast.net> wrote:
"Free" doesn't matter. "Cross-platform" only makes sense if
the platform the inquirer wants is among those that library
supports, and the OP didn't state what platform he wanted, did
he? So, why recommend something that is not guaranteed to
work for the OP?
People with specific needs know where to ask and how to ask. "PHP2" said
"I am pretty new at this so forgive me if this is a stupid question",
from that and from the fact he use Outlook, I'll guess he is trying to
make a GUI for a program running on MS Windows on a 386. So he could use
wxWindows, GTK, FLTK, Fox and so on.
If you are not sure what he wants, maybe you should try asking him,
instead of making him write unportable software.
If he asks in a newsgroup for _his_ platform,
he would very likely get the _correct_ answer, wouldn't he?


My guess is that people subscribing to MS Windows groups use Win32 and
not cross platform libraries.

Now, let's stop wasting bytes as this is OT here.

socketd
Jul 22 '05 #7

P: n/a
"Socketd" <db@traceroute.dk.NO_I_DONT_LIKE_SPAM> wrote...
On Thu, 20 Nov 2003 15:24:04 GMT
"Victor Bazarov" <v.********@comAcast.net> wrote:
"Free" doesn't matter. "Cross-platform" only makes sense if
the platform the inquirer wants is among those that library
supports, and the OP didn't state what platform he wanted, did
he? So, why recommend something that is not guaranteed to
work for the OP?
People with specific needs know where to ask and how to ask. "PHP2" said
"I am pretty new at this so forgive me if this is a stupid question",
from that and from the fact he use Outlook, I'll guess he is trying to


I (and many others) simply have _no_time_ for guesses. We answer
questions asked.
make a GUI for a program running on MS Windows on a 386. So he could use
wxWindows, GTK, FLTK, Fox and so on.
Yes, he could. So what? While he is reading his news on a Win32
machine, he may not be asking about creating a window on one. It
could, for all we know be a Macintosh, a PalmOS, or any other. He
simply never specified one.
If you are not sure what he wants, maybe you should try asking him,
instead of making him write unportable software.
I answer questions in the matter I perceive best suited for both
the newsgroup and the one who asks. If a poster clearly has NO
language issue, why perpetuate a thread by asking him?
If he asks in a newsgroup for _his_ platform,
he would very likely get the _correct_ answer, wouldn't he?


My guess is that people subscribing to MS Windows groups use Win32 and
not cross platform libraries.


That's _your_ guess, not mine. Besides, why guess, when there is
_the_ newsgroup where he or anybody else could get the _correct_
answer? Also, the OP's need for a _cross_platform_ library was
_your_ idea, not his. How to create a window in Win32 and what
library to use for that -- that's a question _undoubtedly_ better
asked in a Win32 newsgroup.
Now, let's stop wasting bytes as this is OT here.


Discussion on what is and what isn't OT is _not_ OT. Discussions
on _how_ to answer questions are indeed a waste of bytes, and I am
glad you had courage to admit that.

Next time, please try to limit yourself to _answering_ questions
yourself, instead of trying to teach others how to answer questions.

Thank you.

Victor
Jul 22 '05 #8

P: n/a
On Thu, 20 Nov 2003 16:57:22 GMT
"Victor Bazarov" <v.********@comAcast.net> wrote:
I (and many others) simply have _no_time_ for guesses. We answer
questions asked.
You guessed that wxWindows/GTK/FLTK/Fox was not enough.
make a GUI for a program running on MS Windows on a 386. So he could
use wxWindows, GTK, FLTK, Fox and so on.


Yes, he could. So what? While he is reading his news on a Win32
machine, he may not be asking about creating a window on one. It
could, for all we know be a Macintosh, a PalmOS, or any other. He
simply never specified one.


Correct, that's why cross platform libraries are so good. Anyway, if he
wanted a good and precise answer, he should have provided more info.
If you are not sure what he wants, maybe you should try asking him,
instead of making him write unportable software.


I answer questions in the matter I perceive best suited for both
the newsgroup and the one who asks. If a poster clearly has NO
language issue, why perpetuate a thread by asking him?


Maybe it would be best to answer the question once and for all, and then
post a link to that page.
Next time, please try to limit yourself to _answering_ questions
yourself, instead of trying to teach others how to answer questions.


I'll do what I see fit.

socketd
Jul 22 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.