Undelivered mail

MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
Sun Mar 13 06:30:22 AEST 1988


Subject:  Re: Pascal --> C question

[Non-Deliverable:  User does not exist or has never logged on]

Reply-To: Info-C at BRL.ARPA

Received: From UWAVM(MAILER) by ALASKA with Jnet id 8056
          for SXJVK at ALASKA; Sat, 12 Mar 88 10:52 AST
Received: by UWAVM (Mailer X1.25) id 5439; Sat, 12 Mar 88 11:50:45 PST
Date:         Fri, 11 Mar 88 23:57:37 GMT
Reply-To:     Info-C at BRL.ARPA
Sender:       Info-C List <INFO-C at NDSUVM1>
From:         00704a-Liber <nevin1 at ihlpf.ATT.COM>
Subject:      Re: Pascal --> C question
Comments: To: info-c at BRL-SMOKE.arpa
To:           Vic Kapella <SXJVK at ALASKA>

In article <3352 at psuvax1.psu.edu> schwartz at gondor.cs.psu.edu (Scott Schwartz)
 writes:
>Except that the useful ones are never that easy.  One of my favorites:
>    bitstring: packed array[0..1023] of boolean;
>In C you have to do bit-fiddling by hand to get the same effect.

Yes, but in C you are guaranteed that bits are actually used.  Not many
implementations of Pascal bother to implement packed arrays any differently
than non-packed arrays, so what you get is an array of 1024 words (where the
sizeof(word) is implementation-dependent).
--
 _ __            NEVIN J. LIBER    ..!ihnp4!ihlpf!nevin1    (312) 510-6194
' )  )                "The secret compartment of my ring I fill
 /  / _ , __o  ____         with an Underdog super-energy pill."
/  (_</_\/ <__/ / <_    These are solely MY opinions, not AT&T's, blah blah blah



More information about the Comp.lang.c mailing list