On Jul 19, 9:14 pm, John Harrison <john_androni.. .@hotmail.comwr ote:
Oliver Soeder wrote:
Victor Bazarov schrieb:
Oliver Soeder wrote:
[..]
I need your help to show me, how I can do clipboard operations, I will
be able to solve the rest of the problems.
There is no "clipboard" in C++. You need to ask your OS-specific
question in the newsgroup dedicated to your OS.
There is also no clipboard class? I even have it in Perl. I need it for
Windows.
There is a clipboard class in the C++ you are using (no doubt).
Are you sure? There isn't in any of the C++ I use under Unix.
(The C++, of course, allow access to the various X Windows
libraries, but those library API's are always in C, without any
classes. And they're not really part of C++, not even the
platform specific C++.)
There is no clipboard class in *standard* C++, which is what
we discuss here. Follow Victor's advice.
The word is "portable" C++, not standard C++. Or simply C++.
Unlike some other languages, C++ does not try to provide
everything; it provides the framework, but expects you to use
other libraries for all but the most basics. I'm sure
wxWidgets, for example, has a clipboard class, or Qt, or any
number of other windowing libraries. But not C++ per se.
This is a general philosophy of C++. It has some advantages;
you can find and choose a windowing library which corresponds to
your philosophy as to what a windowing library should be like
(which may not correspond to mine), for example. It also has
some disadvantages: the next C++ programmer you hire might not
know the library you're using.
--
James Kanze (GABI Software) email:ja******* **@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientier ter Datenverarbeitu ng
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34