Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #163120 > unrolled thread

how learn c?

Started by황병희 <soyeomul@doraji.xyz>
First post2021-10-22 14:02 +0900
Last post2021-10-26 07:04 -0700
Articles 5 on this page of 25 — 12 participants

Back to article view | Back to comp.lang.c


Contents

  how learn c? 황병희 <soyeomul@doraji.xyz> - 2021-10-22 14:02 +0900
    Re: how learn c? Philipp Klaus Krause <pkk@spth.de> - 2021-10-22 10:25 +0200
      Re: how learn c? 황병희 <soyeomul@doraji.xyz> - 2021-10-22 19:08 +0900
    Re: how learn c? Branimir Maksimovic <branimir.maksimovic@icloud.com> - 2021-10-22 11:23 +0000
      Re: how learn c? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-10-22 11:32 -0700
        Re: how learn c? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-10-22 12:07 -0700
          Re: how learn c? Bart <bc@freeuk.com> - 2021-10-22 20:30 +0100
          Re: how learn c? Branimir Maksimovic <branimir.maksimovic@icloud.com> - 2021-10-23 00:40 +0000
        Re: how learn c? Branimir Maksimovic <branimir.maksimovic@icloud.com> - 2021-10-23 00:40 +0000
    Re: how learn c? luser droog <luser.droog@gmail.com> - 2021-10-22 19:03 -0700
      Re: how learn c? Branimir Maksimovic <branimir.maksimovic@icloud.com> - 2021-10-23 02:16 +0000
        Re: how learn c? luser droog <luser.droog@gmail.com> - 2021-10-22 19:52 -0700
        Re: how learn c? scott@slp53.sl.home (Scott Lurndal) - 2021-10-23 21:19 +0000
          Re: how learn c? Branimir Maksimovic <branimir.maksimovic@icloud.com> - 2021-10-24 03:56 +0000
            Re: how learn c? scott@slp53.sl.home (Scott Lurndal) - 2021-10-24 16:39 +0000
            Re: how learn c? James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-10-24 23:24 -0400
              Re: how learn c? Branimir Maksimovic <branimir.maksimovic@icloud.com> - 2021-10-26 01:07 +0000
                Re: how learn c? scott@slp53.sl.home (Scott Lurndal) - 2021-10-26 13:34 +0000
                  Re: how learn c? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-10-26 06:59 -0700
                    Re: how learn c? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-10-26 14:02 +0000
                      Re: how learn c? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-10-26 07:05 -0700
                        Re: how learn c? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-10-26 14:15 +0000
              Re: how learn c? Kaz Kylheku <480-992-1380@kylheku.com> - 2021-10-27 06:14 +0000
                Re: how learn c? scott@slp53.sl.home (Scott Lurndal) - 2021-10-27 14:21 +0000
          Re: how learn c? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-10-26 07:04 -0700

Page 2 of 2 — ← Prev page 1 [2]


#163176

FromMalcolm McLean <malcolm.arthur.mclean@gmail.com>
Date2021-10-26 07:05 -0700
Message-ID<06f33435-0f05-4e4a-80b4-690ad8b7521cn@googlegroups.com>
In reply to#163174
On Tuesday, 26 October 2021 at 15:02:13 UTC+1, Lew Pitcher wrote:
> On Tue, 26 Oct 2021 06:59:06 -0700, Malcolm McLean wrote: 
> 
> > On Tuesday, 26 October 2021 at 14:34:56 UTC+1, Scott Lurndal wrote: 
> >> 
> >> >Qt works on any pplatform unlike GTK which requires X11... 
> >> That doesn't mean it isn't built on top of X11. And QT (Trolltech) 
> >> originally targeted Unix systems. 
> >> 
> > It's cross platform. I'd be surprised if it still uses X11 for the Unix build, 
> > XCB has taken over (basically XCB gives you surfaces on which the client 
> > renders using its own code, X11 gives you a graphics context which provides 
> > its own draw routines and fonts).
> I'm afraid that you've confused X11 (a networked grapic UI protocol) with 
> Xlib (a low-level C library that implements an API to manipulate the X11 
> protocol). 
> 
Oh you're right. xlib is linked via -lX11, which is an excuse.

[toc] | [prev] | [next] | [standalone]


#163177

FromLew Pitcher <lew.pitcher@digitalfreehold.ca>
Date2021-10-26 14:15 +0000
Message-ID<sl92ie$pr5$3@dont-email.me>
In reply to#163176
On Tue, 26 Oct 2021 07:05:59 -0700, Malcolm McLean wrote:

> On Tuesday, 26 October 2021 at 15:02:13 UTC+1, Lew Pitcher wrote:
>> On Tue, 26 Oct 2021 06:59:06 -0700, Malcolm McLean wrote: 
>> 
>> > On Tuesday, 26 October 2021 at 14:34:56 UTC+1, Scott Lurndal wrote: 
>> >> 
>> >> >Qt works on any pplatform unlike GTK which requires X11... 
>> >> That doesn't mean it isn't built on top of X11. And QT (Trolltech) 
>> >> originally targeted Unix systems. 
>> >> 
>> > It's cross platform. I'd be surprised if it still uses X11 for the Unix build, 
>> > XCB has taken over (basically XCB gives you surfaces on which the client 
>> > renders using its own code, X11 gives you a graphics context which provides 
>> > its own draw routines and fonts).
>> I'm afraid that you've confused X11 (a networked grapic UI protocol) with 
>> Xlib (a low-level C library that implements an API to manipulate the X11 
>> protocol). 
>> 
> Oh you're right. xlib is linked via -lX11, which is an excuse.

libX11 is the name of the library which implementes the Xlib API. Admittedly,
the authors named it poorly, but it /was/ the reference implementation for the
X11 protocol for quite a while.


-- 
Lew Pitcher
"In Skills, We Trust"

[toc] | [prev] | [next] | [standalone]


#163183

FromKaz Kylheku <480-992-1380@kylheku.com>
Date2021-10-27 06:14 +0000
Message-ID<20211026231307.934@kylheku.com>
In reply to#163168
On 2021-10-25, James Kuyper <jameskuyper@alumni.caltech.edu> wrote:
> On 10/23/21 11:56 PM, Branimir Maksimovic wrote:
>> On 2021-10-23, Scott Lurndal <scott@slp53.sl.home> wrote:
> ...
>>> Of course, GTK and QT are both built _on top of_ X11, and thus
>>> the GTK/QT team program "directly with X11".
> ...
>> Qt is not built on top of X11...
>
> Can you explain what you mean by that comment, taking into consideration
> the contents of the following web page?
> https://doc.qt.io/qt-6/linux.html

I find "Qt is not built on top of X11" a plausible statement, not
unlike, say, "your local TCP/IP stack not built upon the Intel
EtherExpress Pro 100 driver."

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal

[toc] | [prev] | [next] | [standalone]


#163185

Fromscott@slp53.sl.home (Scott Lurndal)
Date2021-10-27 14:21 +0000
Message-ID<%fdeJ.606$452.59@fx22.iad>
In reply to#163183
Kaz Kylheku <480-992-1380@kylheku.com> writes:
>On 2021-10-25, James Kuyper <jameskuyper@alumni.caltech.edu> wrote:
>> On 10/23/21 11:56 PM, Branimir Maksimovic wrote:
>>> On 2021-10-23, Scott Lurndal <scott@slp53.sl.home> wrote:
>> ...
>>>> Of course, GTK and QT are both built _on top of_ X11, and thus
>>>> the GTK/QT team program "directly with X11".
>> ...
>>> Qt is not built on top of X11...
>>
>> Can you explain what you mean by that comment, taking into consideration
>> the contents of the following web page?
>> https://doc.qt.io/qt-6/linux.html
>
>I find "Qt is not built on top of X11" a plausible statement, not
>unlike, say, "your local TCP/IP stack not built upon the Intel
>EtherExpress Pro 100 driver."

Given that Qt development began in 1991, it's completly plausible
to say that "Qt is built on top of X11".    Adding support for windows
a decade later doesn't obviate that.

[toc] | [prev] | [next] | [standalone]


#163175

FromMalcolm McLean <malcolm.arthur.mclean@gmail.com>
Date2021-10-26 07:04 -0700
Message-ID<7715e621-0f9e-4c69-85ef-c369909596ffn@googlegroups.com>
In reply to#163162
On Saturday, 23 October 2021 at 22:19:44 UTC+1, Scott Lurndal wrote:
>
> >iNobody programs directly with X11 any more.
> Demonstrably untrue blanket statement noted. 
> 
I wrote Baby X as a lightweight toolkit for X11. I
Whilst I put in a mode which didn't grab the X11 message loop, so it was
possible to add your own X11-specific code alongside the Baby widgets,
I found that I never used it - all the code I wrote interfaced with Baby X,
and then with X11.
This made it possible to create a Windows version of Baby X and port 
my Baby X programs.

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.c


csiph-web