Re: C Tutorial ?

2006-05-11 Thread Michelle Konzack
Hello Roger,

Am 2006-05-07 00:23:32, schrieb Roger Leigh:

 Note that programming GTK+ in C is not C programming, it's GObject

Right, but...

 programming.  This requires that you know not only about how objects
 are implemented on a fundamental level by the C++ compiler (virtual
 method despatch with vtables, typeinfo, inheritance, polymorphism,
 RTTI etc.), but how to re-implement these concepts in C.  And, in
 addition, several features from smalltalk such as properties.

With the GTK+ 2.0 Tutorial found in Debian it is easy to
create Dialogs, even without knowledge about C...

It was realy crazy, as Laila had send me a hand full files
which I have compiled on my machine...  It just works.

She had understood un around 2 days HOW GTK+ is working...

She know allready how to use evenst and something like this.

 If your daughter wants to learn C, that's great, but GTK+ isn't really

She want to code stuff for the console using slang-utf8
and ncursesw and then some Front-Ends in GTK.

 what you do first with C; it's what you do once you've mastered C
 *and* C++, and then decided to use C instead.  I.e. it's not something

Why C++ if she do not need it?

 you would want to intimidate a beginner with (or many experienced
 programmers!), and is not generally a good choice.  If it was me, I'd
 stay with PyGTK!

Oh, I use GTK with PHP/Tcl and now I am switching from this
crappy wxwindows to GTK, wich works 100 times better.

 If she still wants to learn to use GTK+, she might find this useful:
 
 http://people.debian.org/~rleigh/gtk/ogcalc/
 
 (PDF and source code examples)

We will check it out in the next days...

Thanks
Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: C Tutorial ?

2006-05-11 Thread Olaf van der Spek

On 5/10/06, Michelle Konzack [EMAIL PROTECTED] wrote:

Why C++ if she do not need it?


That sounds like the wrong question.
It's not like needing a computer, you could just use your calculator.


Re: C Tutorial ?

2006-05-11 Thread Marco Cabizza
Il giorno gio, 11/05/2006 alle 19.16 +0200, Olaf van der Spek ha
scritto:
 On 5/10/06, Michelle Konzack [EMAIL PROTECTED] wrote:
  Why C++ if she do not need it?
 
 That sounds like the wrong question.
 It's not like needing a computer, you could just use your calculator.

Nah she's right:

 Note that programming GTK+ in C is not C programming, it's GObject
 programming.  This requires that you know not only about how objects
 are implemented on a fundamental level by the C++ compiler (virtual
 method despatch with vtables, typeinfo, inheritance, polymorphism,
 RTTI etc.), but how to re-implement these concepts in C.  And, in
 addition, several features from smalltalk such as properties.

I don't think that C++ is really _needed_ to learn basic GTK+
programming. Of course if you know all the low-level implementation of
classes/objects things will be much clearer, but it's not crucial at
first.

~marco



signature.asc
Description: Questa รจ una parte del messaggio	firmata digitalmente


Re: C Tutorial ?

2006-05-11 Thread Nico Golde
Hi,
* Michelle Konzack [EMAIL PROTECTED] [2006-05-11 19:57]:
[...] 
  programming.  This requires that you know not only about how objects
  are implemented on a fundamental level by the C++ compiler (virtual
  method despatch with vtables, typeinfo, inheritance, polymorphism,
  RTTI etc.), but how to re-implement these concepts in C.  And, in
  addition, several features from smalltalk such as properties.
 
 With the GTK+ 2.0 Tutorial found in Debian it is easy to
 create Dialogs, even without knowledge about C...

[...] 
Now I know where all the segfaults are coming from...
Regards Nico
-- 
Nico Golde - JAB: [EMAIL PROTECTED] | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org
Forget about that mouse with 3/4/5 buttons -
gimme a keyboard with 103/104/105 keys!


pgpgBFkm3ITfN.pgp
Description: PGP signature


RFS: d.n.s.c.r.u.f.t. (name mangled because of s.a. :p)

2006-05-11 Thread Adam Borowski
Yeah, I've made it.
pasc kilobyte: hah
pasc X-Spam-Status: Yes, score=5.1 required=4.0 tests=AWL,DRUGSPAM,DRUGSPAM2,
pasc DRUGSPAM3,DRUGS_ERECTILE,IMPRONONCABLE_1,MANY_EXCLAMATIONS,
pasc MURPHY_DRUGS1,SUBJECT_DRUG_GAP_C,SUBJECT_DRUG_GAP_VIA 
autolearn=spam
pasc I'm surprised you only got that

Let's say that the previous post contained some references about the sites
this package blocks.  If I made murphy autolearn the package's name to mark
it as spam, will I get a medal? :p

Getting a little afraid of quoting the stats again, let's say that ads,
popups and other junk were about 18.5% of entries in my Squid logs.  Getting
rid of that is worth a package to me.

Thus, a sponsor would be nice.

Package: dnsNOSAcruft (without NOSA ;-) )
Repository: mentors or http://angband.pl/debian unstable main
{lintian,linda,pbuilder,piuparts}-clean

Cheers.
-- 
1KB // Rule #6: If violence wasn't your last resort,
// you failed to resort to enough of it.
//   - The Seven Habits of Highly Effective Pirates


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]