From: Michal M. <mal...@pl...> - 2003-03-01 17:28:09
|
On Fri, Feb 28, 2003 at 06:19:21PM +0100, Amit Dubey wrote: > val output_int : out_channel -> int -> unit It's like: let output_int c i = Printf.fprintf c "%d" i ? Or maybe outputs binary representation? And output_float outputs with what precision? > val input_int : in_channel -> int I used this much writing code for programming contest: let input_int c = Scanf.fscanf c " %d" (fun x -> x) > val input_float : in_channel -> float > val input_string : in_channel -> string Didn't use these, but they can be probably usable in similar environments. -- : Michal Moskal ::::: malekith/at/pld-linux.org : GCS {C,UL}++++$ a? !tv : PLD Linux ::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h |