TIP: Click on subject to list as thread! ANSI
echo: locsysop
to: Bob Lawrence
from: Michael Stapleton
date: 1996-12-10 04:18:08
subject: posix

Hi Bob,

MS>> What's weird about C pointers ? Apart from the scaling, they
MS>> are just like flat assembler pointers.

BL>   ROFL!! I love it when you talk dirty.

:)

MS>> I think you're having problems with C because you are thinking
MS>> in Pascal.

BL> True.  When I first starting uisng Pascal with pointers I was
BL> cranky because it was different, and then suddenly I saw the
BL> wonderful sense of it.  Now it's hard to go back to an inferior
BL> logic.

I don't know if it's fair to call C's pointer logic inferior, I
think it's more a matter of what you are used to.  I haven't used
Pascal in nearly 15 years, so I'm a bit rusty on Pascal pointers.
OTOH, I'm currently learning an OOP language called E, which is in
the Pascal family, and it's pointers are driving me crazy.  :)

MS>> /*
MS>> *  L I N E S O R T 0
MS>> *
MS>> *  Sort a char array full of nul-terminated strings

BL>   Thanks for that Michael.

No worries, Bob! :)

BL> This is exactly what I need, and I'll give it a go after I sort
BL> out a few other things

I'm sure it'll do what you want...  and eventually it'll all make
sense.  :)

BL> (like keeping my heart working) .

Hope your feel better soon!

Michael Stapleton of Graphic Bits

... In C, the solution probably has to do with asterisks or something.
@EOT:

--- Msged/AM 4.00
* Origin: Graphic Bits (3:711/934.33)
SEEN-BY: 711/934 712/610
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.