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 20 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 1 of 2  [1] 2  Next page →


#163120 — how learn c?

From황병희 <soyeomul@doraji.xyz>
Date2021-10-22 14:02 +0900
Subjecthow learn c?
Message-ID<87fssttzws.fsf@penguin>
hellow i'm new to c lang.
give me advice or book recomendation.

i have to make some program input method for korean in Linux.

Sincerely, Byung-Hee

[toc] | [next] | [standalone]


#163121

FromPhilipp Klaus Krause <pkk@spth.de>
Date2021-10-22 10:25 +0200
Message-ID<sktsi8$tij$1@solani.org>
In reply to#163120
Am 22.10.21 um 07:02 schrieb 황병희:
> hellow i'm new to c lang.
> give me advice or book recomendation.
> 
> i have to make some program input method for korean in Linux.
> 
> Sincerely, Byung-Hee
> 

Robert Seacords "Effective C" is IMO a good introduction. Building on
that, I would recommend Jens Gustedt's "Modern C" as a more advanced
follow-up.

Philipp

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


#163122

From황병희 <soyeomul@doraji.xyz>
Date2021-10-22 19:08 +0900
Message-ID<87cznxjrrh.fsf@penguin>
In reply to#163121
Philipp Klaus Krause <pkk@spth.de> writes:

> Am 22.10.21 um 07:02 schrieb 황병희:
>> hellow i'm new to c lang.
>> give me advice or book recomendation.
>> 
>> i have to make some program input method for korean in Linux.
>> 
>> Sincerely, Byung-Hee
>> 
>
> Robert Seacords "Effective C" is IMO a good introduction. Building on
> that, I would recommend Jens Gustedt's "Modern C" as a more advanced
> follow-up.

Thanks, Philipp!

My mind is going to Effective c because he is member of linux
foundation. Thanks again! Philipp you are nice guy!

Sincerely, Byung-Hee from South Korea

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


#163123

FromBranimir Maksimovic <branimir.maksimovic@icloud.com>
Date2021-10-22 11:23 +0000
Message-ID<oaxcJ.4681$Sja8.4252@fx35.iad>
In reply to#163120
On 2021-10-22, 황병희 <soyeomul@doraji.xyz> wrote:
> hellow i'm new to c lang.
> give me advice or book recomendation.
>
> i have to make some program input method for korean in Linux.
>
> Sincerely, Byung-Hee
http://math.ecnu.edu.cn/~jypan/Teaching/ParaComp/books/The%20C%20Programming%20Language%202nd.pdf
PEACE&L|OvE brother :P

-- 

7-77-777
Evil Sinner!
with software, you repeat same experiment, expecting different results...

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


#163139

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2021-10-22 11:32 -0700
Message-ID<87zgr03o7q.fsf@nosuchdomain.example.com>
In reply to#163123
Branimir Maksimovic <branimir.maksimovic@icloud.com> writes:
> On 2021-10-22, 황병희 <soyeomul@doraji.xyz> wrote:
>> hellow i'm new to c lang.
>> give me advice or book recomendation.
>>
>> i have to make some program input method for korean in Linux.
>>
>> Sincerely, Byung-Hee
> http://math.ecnu.edu.cn/[DELETED/.pdf

That is a pirated copy of "The C Programming Language", 2nd edition, by
Kernighan and Ritchie.  You can get a legitimate copy (paper or
electronic) from any bookseller.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

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


#163142

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2021-10-22 12:07 -0700
Message-ID<skv252$q77$2@dont-email.me>
In reply to#163139
On 10/22/2021 11:32 AM, Keith Thompson wrote:
> Branimir Maksimovic <branimir.maksimovic@icloud.com> writes:
>> On 2021-10-22, 황병희 <soyeomul@doraji.xyz> wrote:
>>> hellow i'm new to c lang.
>>> give me advice or book recomendation.
>>>
>>> i have to make some program input method for korean in Linux.
>>>
>>> Sincerely, Byung-Hee
>> http://math.ecnu.edu.cn/[DELETED/.pdf
> 
> That is a pirated copy of "The C Programming Language", 2nd edition, by
> Kernighan and Ritchie.  You can get a legitimate copy (paper or
> electronic) from any bookseller.
> 

I never even look at these pirated works. The pdf might even have a 
virus in it. ;^o

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


#163144

FromBart <bc@freeuk.com>
Date2021-10-22 20:30 +0100
Message-ID<skv3h3$5k5$1@dont-email.me>
In reply to#163142
On 22/10/2021 20:07, Chris M. Thomasson wrote:
> On 10/22/2021 11:32 AM, Keith Thompson wrote:
>> Branimir Maksimovic <branimir.maksimovic@icloud.com> writes:
>>> On 2021-10-22, 황병희 <soyeomul@doraji.xyz> wrote:
>>>> hellow i'm new to c lang.
>>>> give me advice or book recomendation.
>>>>
>>>> i have to make some program input method for korean in Linux.
>>>>
>>>> Sincerely, Byung-Hee
>>> http://math.ecnu.edu.cn/[DELETED/.pdf
>>
>> That is a pirated copy of "The C Programming Language", 2nd edition, by
>> Kernighan and Ritchie.  You can get a legitimate copy (paper or
>> electronic) from any bookseller.
>>
> 
> I never even look at these pirated works. The pdf might even have a 
> virus in it. ;^o


Took late; I had a quick look. It looked rather washed out me.

Also there are bits missing (eg. the Introduction and Index), and the 
pages are not aligned with the paper edition because there are more 
lines per page and they start at 1 rather than i..xii then 1.

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


#163156

FromBranimir Maksimovic <branimir.maksimovic@icloud.com>
Date2021-10-23 00:40 +0000
Message-ID<bSIcJ.7864$LZ1.7388@fx40.iad>
In reply to#163142
On 2021-10-22, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
> On 10/22/2021 11:32 AM, Keith Thompson wrote:
>> Branimir Maksimovic <branimir.maksimovic@icloud.com> writes:
>>> On 2021-10-22, 황병희 <soyeomul@doraji.xyz> wrote:
>>>> hellow i'm new to c lang.
>>>> give me advice or book recomendation.
>>>>
>>>> i have to make some program input method for korean in Linux.
>>>>
>>>> Sincerely, Byung-Hee
>>> http://math.ecnu.edu.cn/[DELETED/.pdf
>> 
>> That is a pirated copy of "The C Programming Language", 2nd edition, by
>> Kernighan and Ritchie.  You can get a legitimate copy (paper or
>> electronic) from any bookseller.
>> 
>
> I never even look at these pirated works. The pdf might even have a 
> virus in it. ;^o

:P

-- 

7-77-777
Evil Sinner!
with software, you repeat same experiment, expecting different results...

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


#163155

FromBranimir Maksimovic <branimir.maksimovic@icloud.com>
Date2021-10-23 00:40 +0000
Message-ID<RRIcJ.7863$LZ1.5913@fx40.iad>
In reply to#163139
On 2021-10-22, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
> Branimir Maksimovic <branimir.maksimovic@icloud.com> writes:
>> On 2021-10-22, 황병희 <soyeomul@doraji.xyz> wrote:
>>> hellow i'm new to c lang.
>>> give me advice or book recomendation.
>>>
>>> i have to make some program input method for korean in Linux.
>>>
>>> Sincerely, Byung-Hee
>> http://math.ecnu.edu.cn/[DELETED/.pdf
>
> That is a pirated copy of "The C Programming Language", 2nd edition, by
> Kernighan and Ritchie.  You can get a legitimate copy (paper or
> electronic) from any bookseller.
>
That was first link I hit on search? i didn't know it is pirated,
sorry,,,

-- 

7-77-777
Evil Sinner!
with software, you repeat same experiment, expecting different results...

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


#163157

Fromluser droog <luser.droog@gmail.com>
Date2021-10-22 19:03 -0700
Message-ID<eacae89e-d398-4458-b3a3-3ead1e9d4df4n@googlegroups.com>
In reply to#163120
On Friday, October 22, 2021 at 12:03:00 AM UTC-5, 황병희 wrote:
> hellow i'm new to c lang. 
> give me advice or book recomendation. 
> 
> i have to make some program input method for korean in Linux. 
> 
> Sincerely, Byung-Hee

You might want to also ask in a Linux or Unix programming 
group like comp.unix.programmer. 

You will need to learn a little more than just C to program a new 
input method for Linux. I could be wrong, but I believe a new input 
method will hook into the window system via the window manager. 
And the Linux world is perpetually on the verge of jumping ship from 
X11 or xcb. But, last I heard, you'll still need to do it through X11 or xcb.
There are lots of books on X11 but none of them great that I know of.
xcb has good online documentation but as far as I know nobody has
actually written a book about it.

But maybe this much will at least give you some search terms.
Hope that helps.

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


#163158

FromBranimir Maksimovic <branimir.maksimovic@icloud.com>
Date2021-10-23 02:16 +0000
Message-ID<mgKcJ.27677$QA4.17848@fx37.iad>
In reply to#163157
On 2021-10-23, luser droog <luser.droog@gmail.com> wrote:
> On Friday, October 22, 2021 at 12:03:00 AM UTC-5, 황병희 wrote:
>> hellow i'm new to c lang. 
>> give me advice or book recomendation. 
>> 
>> i have to make some program input method for korean in Linux. 
>> 
>> Sincerely, Byung-Hee
>
> You might want to also ask in a Linux or Unix programming 
> group like comp.unix.programmer. 
>
> You will need to learn a little more than just C to program a new 
> input method for Linux. I could be wrong, but I believe a new input 
> method will hook into the window system via the window manager. 
> And the Linux world is perpetually on the verge of jumping ship from 
> X11 or xcb. But, last I heard, you'll still need to do it through X11 or xcb.
> There are lots of books on X11 but none of them great that I know of.
> xcb has good online documentation but as far as I know nobody has
> actually written a book about it.
>
> But maybe this much will at least give you some search terms.
> Hope that helps.

iNobody programs directly with X11 any more. There is GTK
and books are plenty on that :P

-- 

7-77-777
Evil Sinner!
with software, you repeat same experiment, expecting different results...

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


#163159

Fromluser droog <luser.droog@gmail.com>
Date2021-10-22 19:52 -0700
Message-ID<75f9fae9-d09e-4d59-8fb3-fe1c390bd880n@googlegroups.com>
In reply to#163158
On Friday, October 22, 2021 at 9:17:03 PM UTC-5, Branimir Maksimovic wrote:
> On 2021-10-23, luser droog <luser...@gmail.com> wrote: 
> > On Friday, October 22, 2021 at 12:03:00 AM UTC-5, 황병희 wrote: 
> >> hellow i'm new to c lang. 
> >> give me advice or book recomendation. 
> >> 
> >> i have to make some program input method for korean in Linux. 
> >> 
> >> Sincerely, Byung-Hee 
> > 
> > You might want to also ask in a Linux or Unix programming 
> > group like comp.unix.programmer. 
> > 
> > You will need to learn a little more than just C to program a new 
> > input method for Linux. I could be wrong, but I believe a new input 
> > method will hook into the window system via the window manager. 
> > And the Linux world is perpetually on the verge of jumping ship from 
> > X11 or xcb. But, last I heard, you'll still need to do it through X11 or xcb. 
> > There are lots of books on X11 but none of them great that I know of. 
> > xcb has good online documentation but as far as I know nobody has 
> > actually written a book about it. 
> > 
> > But maybe this much will at least give you some search terms. 
> > Hope that helps.
> iNobody programs directly with X11 any more. There is GTK 
> and books are plenty on that :P

Ahh. Well, I'd rather be happy than right any day.

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


#163162

Fromscott@slp53.sl.home (Scott Lurndal)
Date2021-10-23 21:19 +0000
Message-ID<E%_cJ.5169$mv3.4844@fx34.iad>
In reply to#163158
Branimir Maksimovic <branimir.maksimovic@icloud.com> writes:
>On 2021-10-23, luser droog <luser.droog@gmail.com> wrote:
>> On Friday, October 22, 2021 at 12:03:00 AM UTC-5, 황병희 wrote:
>>> hellow i'm new to c lang. 
>>> give me advice or book recomendation. 
>>> 
>>> i have to make some program input method for korean in Linux. 
>>> 
>>> Sincerely, Byung-Hee
>>
>> You might want to also ask in a Linux or Unix programming 
>> group like comp.unix.programmer. 
>>
>> You will need to learn a little more than just C to program a new 
>> input method for Linux. I could be wrong, but I believe a new input 
>> method will hook into the window system via the window manager. 
>> And the Linux world is perpetually on the verge of jumping ship from 
>> X11 or xcb. But, last I heard, you'll still need to do it through X11 or xcb.
>> There are lots of books on X11 but none of them great that I know of.
>> xcb has good online documentation but as far as I know nobody has
>> actually written a book about it.
>>
>> But maybe this much will at least give you some search terms.
>> Hope that helps.
>
>iNobody programs directly with X11 any more.

Demonstrably untrue blanket statement noted.

> There is GTK
>and books are plenty on that.

Of course, GTK and QT are both built _on top of_ X11, and thus
the GTK/QT team program "directly with X11".

Not to mention the handful of simple GUI utilities we use
internally at PPOE.

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


#163164

FromBranimir Maksimovic <branimir.maksimovic@icloud.com>
Date2021-10-24 03:56 +0000
Message-ID<XP4dJ.33701$mv3.10047@fx34.iad>
In reply to#163162
On 2021-10-23, Scott Lurndal <scott@slp53.sl.home> wrote:
> Branimir Maksimovic <branimir.maksimovic@icloud.com> writes:
>>On 2021-10-23, luser droog <luser.droog@gmail.com> wrote:
>>> On Friday, October 22, 2021 at 12:03:00 AM UTC-5, 황병희 wrote:
>>>> hellow i'm new to c lang. 
>>>> give me advice or book recomendation. 
>>>> 
>>>> i have to make some program input method for korean in Linux. 
>>>> 
>>>> Sincerely, Byung-Hee
>>>
>>> You might want to also ask in a Linux or Unix programming 
>>> group like comp.unix.programmer. 
>>>
>>> You will need to learn a little more than just C to program a new 
>>> input method for Linux. I could be wrong, but I believe a new input 
>>> method will hook into the window system via the window manager. 
>>> And the Linux world is perpetually on the verge of jumping ship from 
>>> X11 or xcb. But, last I heard, you'll still need to do it through X11 or xcb.
>>> There are lots of books on X11 but none of them great that I know of.
>>> xcb has good online documentation but as far as I know nobody has
>>> actually written a book about it.
>>>
>>> But maybe this much will at least give you some search terms.
>>> Hope that helps.
>>
>>iNobody programs directly with X11 any more.
>
> Demonstrably untrue blanket statement noted.
>

Same as with Microsoft COM. Last book went out of print before 2000 :P

>> There is GTK
>>and books are plenty on that.
>
> Of course, GTK and QT are both built _on top of_ X11, and thus
> the GTK/QT team program "directly with X11".
>
> Not to mention the handful of simple GUI utilities we use
> internally at PPOE.
Qt is not built on top of X11...


-- 

7-77-777
Evil Sinner!
with software, you repeat same experiment, expecting different results...

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


#163165

Fromscott@slp53.sl.home (Scott Lurndal)
Date2021-10-24 16:39 +0000
Message-ID<h%fdJ.527$IL3.98@fx18.iad>
In reply to#163164
Branimir Maksimovic <branimir.maksimovic@icloud.com> writes:
>On 2021-10-23, Scott Lurndal <scott@slp53.sl.home> wrote:
>> Branimir Maksimovic <branimir.maksimovic@icloud.com> writes:
>>>On 2021-10-23, luser droog <luser.droog@gmail.com> wrote:
>>>> On Friday, October 22, 2021 at 12:03:00 AM UTC-5, 황병희 wrote:
>>>>> hellow i'm new to c lang. 
>>>>> give me advice or book recomendation. 
>>>>> 
>>>>> i have to make some program input method for korean in Linux. 
>>>>> 
>>>>> Sincerely, Byung-Hee
>>>>
>>>> You might want to also ask in a Linux or Unix programming 
>>>> group like comp.unix.programmer. 
>>>>
>>>> You will need to learn a little more than just C to program a new 
>>>> input method for Linux. I could be wrong, but I believe a new input 
>>>> method will hook into the window system via the window manager. 
>>>> And the Linux world is perpetually on the verge of jumping ship from 
>>>> X11 or xcb. But, last I heard, you'll still need to do it through X11 or xcb.
>>>> There are lots of books on X11 but none of them great that I know of.
>>>> xcb has good online documentation but as far as I know nobody has
>>>> actually written a book about it.
>>>>
>>>> But maybe this much will at least give you some search terms.
>>>> Hope that helps.
>>>
>>>iNobody programs directly with X11 any more.
>>
>> Demonstrably untrue blanket statement noted.
>>
>
>Same as with Microsoft COM. Last book went out of print before 2000 :P
>
>>> There is GTK
>>>and books are plenty on that.
>>
>> Of course, GTK and QT are both built _on top of_ X11, and thus
>> the GTK/QT team program "directly with X11".
>>
>> Not to mention the handful of simple GUI utilities we use
>> internally at PPOE.
>Qt is not built on top of X11...

I beg to differ.

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


#163168

FromJames Kuyper <jameskuyper@alumni.caltech.edu>
Date2021-10-24 23:24 -0400
Message-ID<sl582a$he7$1@dont-email.me>
In reply to#163164
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

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


#163170

FromBranimir Maksimovic <branimir.maksimovic@icloud.com>
Date2021-10-26 01:07 +0000
Message-ID<XwIdJ.15$lz3.1@fx34.iad>
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
Qt works on any pplatform unlike GTK which requires X11...

-- 

7-77-777
Evil Sinner!
with software, you repeat same experiment, expecting different results...

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


#163172

Fromscott@slp53.sl.home (Scott Lurndal)
Date2021-10-26 13:34 +0000
Message-ID<UtTdJ.18$Zz1.7@fx06.iad>
In reply to#163170
Branimir Maksimovic <branimir.maksimovic@icloud.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
>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.

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


#163173

FromMalcolm McLean <malcolm.arthur.mclean@gmail.com>
Date2021-10-26 06:59 -0700
Message-ID<6e6bdfbf-0208-4e8a-b735-9b66e223d7f6n@googlegroups.com>
In reply to#163172
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).
The Windows build will use the Windows API.

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


#163174

FromLew Pitcher <lew.pitcher@digitalfreehold.ca>
Date2021-10-26 14:02 +0000
Message-ID<sl91op$pr5$2@dont-email.me>
In reply to#163173
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).

Both XCB and XLib "require X11", in that they both implement APIs that
exclusively converse in the X11 protocol.

> The Windows build will use the Windows API.

-- 
Lew Pitcher
"In Skills, We Trust"

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


Page 1 of 2  [1] 2  Next page →

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


csiph-web