Re: How do I get around this?
Re: How do I get around this?
- Subject: Re: How do I get around this?
- From: Kevin Ballard <email@hidden>
- Date: Sun, 28 Nov 2004 02:23:29 -0500
Here's your problem. You're missing the comma between &pkt[UID] and 4.
No wonder you're getting a parse error.
On Nov 28, 2004, at 1:56 AM, John Draper wrote:
I have the following definitions....
#import <strings.h>
u_char pkt[95];
u_long a_long;
bzero(&pkt, 95);
a_long = 23L;
bcopy(&a_long, &pkt[UID] 4); <---- This fails to compile...
I get: error - parse error before numeric constant?
What in tarnation does THIS mean... how can I copy the contents of a
local
variable like "a_long" into a specific byte cell in the 'pkt' array of
"u_char"
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden