Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jul 2009 09:51:24 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Alexander Best <alexbestms@math.uni-muenster.de>
Cc:        rick-freebsd2008@kiwi-computer.com, freebsd-hackers@freebsd.org
Subject:   Re: c question: *printf'ing arrays
Message-ID:  <87ljn5rleb.fsf@kobe.laptop>
In-Reply-To: <permail-20090630182103f7e55a9d0000355c-a_best01@message-id.uni-muenster.de> (Alexander Best's message of "Tue, 30 Jun 2009 20:21:03 %2B0200 (CEST)")
References:  <permail-20090630182103f7e55a9d0000355c-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Jun 2009 20:21:03 +0200 (CEST), Alexander Best <alexbestms@math.uni-muenster.de> wrote:
> thanks. now the output gets redirected using >. i'm quite new to programming
> under unix. sorry for the inconvenience.
>
> so i guess there is no really easy way to output an inhomogeneous struct to
> stdout without using a loop to output each array contained in the struct.

No not really.  You have to do the sizeof() dance.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ljn5rleb.fsf>