Undelivered mail
MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
Sat Mar 12 16:22:45 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 6644
for SXJVK at ALASKA; Fri, 11 Mar 88 20:37 AST
Received: by UWAVM (Mailer X1.25) id 4463; Fri, 11 Mar 88 21:36:47 PST
Date: Thu, 10 Mar 88 17:16:56 GMT
Reply-To: Info-C at BRL.ARPA
Sender: Info-C List <INFO-C at NDSUVM1>
Comments: Warning -- original Sender: tag was netnews at psuvax1.cs.psu.EDU
From: Scott Schwartz <schwartz at gondor.cs.psu.EDU>
Subject: Re: Pascal --> C question
Comments: To: info-c at brl-smoke.arpa
To: Vic Kapella <SXJVK at ALASKA>
In article <4940001 at hpiacla.HP.COM> mlight at hpiacla.HP.COM (Mike Light ) writes:
>> SinWave: packed array[0..255] of char;
>> char SinWave[256];
>Almost any pascal-ism has an equivalent in C (but not necessarily
>the other way around).
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.
-- Scott Schwartz | Your array may be without head or
schwartz at gondor.cs.psu.edu | tail, yet it will be proof against
| defeat. -- Sun Tzu, "The Art of War"
More information about the Comp.lang.c
mailing list