creating windows

P

PHP2

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?
 
V

Victor Bazarov

PHP2 said:
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
 
S

Socketd

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
 
T

Thomas Matthews

Socketd said:
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
 
S

Socketd

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
 
V

Victor Bazarov

Socketd said:
wxEmbedded, but we are not just talking about wxWindows.


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?
 
S

Socketd

"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
 
V

Victor Bazarov

Socketd said:
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?
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
 
S

Socketd

I (and many others) simply have _no_time_ for guesses. We answer
questions asked.

You guessed that wxWindows/GTK/FLTK/Fox was not enough.
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.
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,147
Messages
2,570,833
Members
47,378
Latest member
BlakeLig

Latest Threads

Top