Posted by Mike McCue on 2001-02-05
Post your code here so we can all take a look at it... Atleast the relevant
code..
Thanks,
Mike
>From: "evilhackr" <evilhackr@xxxxxxxxx.xxx>
>Reply-To: tcg@xxxx.xx.xx
>To: mccuem1@xxx.xxx
>Subject: Linux C Struct Problem
>Date: Mon, 5 Feb 2001 20:52:27 +0100 (MET)
>
>Hey,
> I'm working on a socket related program and I'm having alot of
>trouble.
>One thing I'm stuck on is defining the value of 'b' in main(). I have it
>defined in struct recv. The line it's on is int b[4];. Thats set before
>main() starts. I need to be able to use the value of 'b' inside of main but
>I don't know how to tell it to look in struct recv for the int/char stuff.
> When I'm done with getting that defined. ('b' is undefined) Then I
>need
>to multiply the four ints by each other and output them again. Would you
>help me with that too? If you need what code I have so far then I'll send
>it
>to you.
>
> Thank you,
> Paul/nonex/evilhackr [evilhackr@xxxxxxxxx.xxx]
>
>>
>
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Previous post | Next post | Timeline | Home