From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
Newsgroups: comp.os.vms
Subject: Re: C pointer question
Date: 24 Dec 92 20:51:00 GMT
Reply-To: gavron@ACES.COM
Organization: ACES Consulting Inc.
News-Software: VAX/VMS VNEWS 1.4-b1

In article <1992Dec23.211437.9868@netcom.com>, despair@netcom.com (Scott Hanson) writes...
#I apologize for being vague; my project is behind schedule and I don't have
#time to make it perfect.

Oh that's ok, come on in... sit down.  Would you like some coffee?  No?
Tea?  I've got some sugar here somewhere... one lump or two?  Oh that's
so nice.  Did you knit that sweater yourself?  Do tell me all about it.
That's what I'm here for, to socialize with you.  That's ok, don't go
into all those boring technical details, be vague, it's friendlier.
After all, comp.os.vms is where friendly people hang out just to socialize.
If any Bad Boys (tm) come in, why we just let them know that here we're
all nice to each other.

#Maybe later if I can't solve this.

Yes, give us the details if you can't solve it, but not too many because
that would be technical and boring!  Thanks!

#I was just hoping someone had run across a similar problem and could give 
#me some suggestions.

Soak it in cold water and rub it with a brick.  If that doesn't help
try cutting it off.  You'll need a tourniquet to stop the bleeding.
This will however remove any chances of having children soon.

#You can bet I'll post a summary whatever happens.

Oh yeah, I'd love to hear all about it.  Especially if you use
a C-clamp to anchor it down, doncha know ;-)

#Are there any tips for one who has only worked on Unix, MS-DOS, Primos, 
#and C-64 platforms?

Yes!  There are lots.  I don't know where to begin.  My favorite tip is
15%, but if service is great it goes up to 20-30%!!!

#Any "features" or uncommon (but legal) requirements?

Yeah, if you fathered it then you're liable for its education.  However,
if you do that C-clamp cutoff I suggested you won't ever have to
worry about that "feature" or any of its legal requirements again!

#If I am being too vague please don't complain,

I wouldn't dream of complaining, because I just love socializing on
comp.os.vms.  I feel just like a Jeff Killeen puppet, sucking my own
'features' and milking the DECUS membership of all their trust.

#I'll get to specifics as soon as I can.

There's no hurry!  Really!  Take your time!  Have another cup of tea?

#If you have any pointers (heh heh) please let me know.

Sure, I have lots:
	char *p;
	char *q;
	int *i;

(I is ok, but mind those p's and q's)

#-- 
#Scott Hanson		This has been a recording.
#despair@netcom.com

That's so cute!  Not!

Ehud

--
Ehud Gavron        (EG76)     
gavron@aces.com

Obligatory technical info:

Dump of file SYS$SPECIFIC:[DECNET]T.EXE;1 on 15-SEP-1992 15:33:48.87
File ID (2367,36,0)   End of file block 5 / Allocated 5

Virtual block number 1 (00000001), 512 (0200) bytes

 00000000 000000B8 00000098 00000068 00000110 0000024C 00000000 00000003 ........L.......h.......8....... 000000
 00000000 00000000 00000001 00000000 00000000 00000000 00000000 00030000 ................................ 000020
 00000001 00000000 0A94A4CC 00000028 00000002 FFFFFFFF FFFFFFFF 00000000 ................(...L$.......... 000040
 00000000 00010040 FFFFFFFF 00000340 00000000 00000030 00000010 00000000 ........0.......@.......@....... 000060
 00000001 00000001 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000080
 00000001 00000001 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000A0
 00000000 00000000 00000000 00000000 00000000 00005401 00960A94 A4CC3443 C4L$.....T...................... 0000C0
 00000000 00000000 00000030 2E315604 00000000 00000000 00000000 00000000 .................V1.0........... 0000E0
 00000200 00000024 00000001 00000001 00000000 00000000 0039322D 30314106 .A10-29.................$....... 000100
 00000024 00000001 00000001 00000000 00000003 0000040A 00000000 00010000 ............................$... 000120
 00000001 00000001 00000000 00000004 00000C00 00000000 00020000 00000200 ................................ 000140
 00000001 00000000 00000005 0000004A 00000000 00030000 00000200 00000024 $...............J............... 000160
 00FD0000 00000000 0000040C 00000000 7FFF0000 00002800 00000024 00000001 ....$....(....................}. 000180
 00000000 0000000B 00000000 00000000 00011E00 00000038 00000001 00000001 ........8....................... 0001A0
 FFFFFFFF FFFFFFFF 00000031 30305F52 48532443 4345440C 01000001 00020200 .........DECC$SHR_001........... 0001C0
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 0001E0

Dump of file SYS$SPECIFIC:[DECNET]T.EXE;1 on 15-SEP-1992 15:33:48.87
File ID (2367,36,0)   End of file block 5 / Allocated 5

Virtual block number 2 (00000002), 512 (0200) bytes

 00000000 00000001 00000000 00000000 00001E00 00000040 00000001 00000001 ........@....................... 000000
 00313030 5F53524F 54434556 5F43494C 42555024 53595316 558EA573 00020100 ....s%.U.SYS$PUBLIC_VECTORS_001. 000020
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00000000 00000000 00000000 ................................ 000040
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 000060
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 000080
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 0000A0
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 0000C0
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 0000E0
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 000100
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 000120
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 000140
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 000160
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 000180
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 0001A0
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 0001C0
 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ................................ 0001E0

Dump of file SYS$SPECIFIC:[DECNET]T.EXE;1 on 15-SEP-1992 15:33:48.87
File ID (2367,36,0)   End of file block 5 / Allocated 5

Virtual block number 3 (00000003), 512 (0200) bytes

 00000000 20000000 00000000 00000020 00000000 00020000 00000000 00083089 .0.............. .......... .... 000000
 00000A20 21646C72 6F57206F 6C6C6548 00000000 00000000 00000000 00001700 ................Hello World! ... 000020
 00000000 20000004 00000000 00000030 00000000 00020040 00000000 00183089 .0......@.......0.......... .... 000040
 00000000 00000000 00000000 000007B0 00000000 00000000 00000000 00001FC0 @...............0............... 000060
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000080
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000A0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000C0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000E0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000100
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000120
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000140
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000160
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000180
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0001A0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0001C0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0001E0

Dump of file SYS$SPECIFIC:[DECNET]T.EXE;1 on 15-SEP-1992 15:33:48.87
File ID (2367,36,0)   End of file block 5 / Allocated 5

Virtual block number 4 (00000004), 512 (0200) bytes

 47FE041D B7BE0010 A75B0020 B75E0008 47E03419 B77E0000 221B0030 23DEFFE0 `.^#0.."..~7.4`G..^7 .['..>7..~G 000000
 6BFA8001 23DE0020 A7BD0010 A75D0008 47E03400 47FD041E 6B5A4000 A77B0028 (.{'.@Zk..}G.4`G..]'..=' .^#..zk 000020
 23DEFFE0 47FE041D B7BE0028 B45E0020 B75E0018 B77E0000 47E13419 23DEFFD0 P.^#.4aG..~7..^7 .^4(.>7..~G`.^# 000040
 A7620038 B43E0008 201D0008 B41E0000 203D000C A7420030 201D0010 47FB0402 ..{G... 0.B'..= ...4... ..>48.b' 000060
 A7420020 47E03419 47E00410 A7620028 D35FFFDC 2362FFC0 6B5A4000 B41E0010 ...4.@Zk@.b#\._S(.b'..`G.4`G .B' 000080
 00000000 6BFA8001 23DE0030 A7BD0028 A75D0018 A45D0020 47FD041E 6B5A4000 .@Zk..}G .]$..]'(.='0.^#..zk.... 0000A0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000C0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000E0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000100
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000120
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000140
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000160
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000180
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0001A0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0001C0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0001E0

Dump of file SYS$SPECIFIC:[DECNET]T.EXE;1 on 15-SEP-1992 15:33:48.87
File ID (2367,36,0)   End of file block 5 / Allocated 5

Virtual block number 5 (00000005), 512 (0200) bytes

 00000000 00000054 00000000 00000000 00000000 00000000 00000000 00000000 ........................T....... 000000
 00000094 00000070 00000054 00000000 00000000 00000000 00000000 00000000 ....................T...p....... 000020
 00000020 00000000 00000003 00000000 00000000 00000000 00000000 00000002 ............................ ... 000040
 00000200 00000000 00020000 00000002 00000000 00000000 00000070 00000060 `...p........................... 000060
 00000000 00000000 00000000 0000000F 00000200 00000000 00000000 0000000D ................................ 000080
 00000000 00000000 00000052 48532443 43454408 00000000 00000040 00000000 ....@........DECC$SHR........... 0000A0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000C0
 0053524F 54434556 5F43494C 42555024 53595312 00000000 00000040 00000000 ....@........SYS$PUBLIC_VECTORS. 0000E0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000100
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000120
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000140
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000160
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000180
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0001A0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0001C0
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0001E0

Newsgroups: comp.os.vms