Sujet : Re: 'Graphics' of libwy
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.c++Date : 19. Dec 2024, 05:14:49
Autres entêtes
Organisation : None to speak of
Message-ID : <871py4xq9y.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Gnus/5.13 (Gnus v5.13)
wij <
wyniijj5@gmail.com> writes:
On Wed, 2024-12-18 at 18:29 -0800, Keith Thompson wrote:
wij <wyniijj5@gmail.com> writes:
On Wed, 2024-12-18 at 13:12 -0800, Keith Thompson wrote:
[...]
I think now the answer may lie at what the cout (terminal) is.
E.g. gnome-terminal --geometry=200x100 --zoom=0.5 -- ./a.out
a.out is now plotting on a 200x100 drawing board.
C++ can provide a graphics library, but not necessarily a GUI library.
That's a text terminal. Sure, you can do "graphics" in text mode, but I
don't think that's what anyone has been talking about.
>
But, what is the true thing the program is dealing with? What is 'pixel'?
Do you really not know what a pixel is?
I think it is possible to handle and display a photo using 'cout'
Possible? Sure.
Desirable? Rarely.
Worth standardizing in the C++ standard? Nope.
[...]
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */