[chuck-users] fread function

Tom Lieber lieber at princeton.edu
Fri Jan 2 02:21:08 EST 2009

On Fri, Jan 2, 2009 at 12:44 AM, Dexter J. Doyle <ddoyle at princeton.edu> wrote:
>   I'm pretty new to programming in ChucK. I'm trying to figure out what
> would be the easiest way to implement C's fread function in ChucK?

File IO is implemented in ChucK CVS, though it's not in a released ChucK yet.

There are also hacks like redirecting the file to ChucK's standard
input and reading keyboard keys into a string... but I would recommend
going the ChucK CVS route. :)

Tom Lieber

More information about the chuck-users mailing list