26 Jui
2009
26 Jui
'09
22:37
Hello everyone, I am working on ICFP programming contest. There is something I am really confused about. Supposed that I have an input port, and I want to read the next 8 bytes as an IEEE 754 double value or a 32-bit unsigned integer, is there anyway to do this in Gambit? I mean, they are not string with digit '0' - '9', but actual representation of the number. Secondly, is there anyway to pass an u8vector to a C-lambda, as a char* or whatever? The C Interface section of the manual only provides information about character string, but not u8vector. Is it possible to pass u8vector as char*? Thank you very much, Lam Luu