Anonymous user
File size: Difference between revisions
→{{header|OCaml}}: fixed link
(→=={{header|Visual Basic}}==: added Visual Basic example) |
(→{{header|OCaml}}: fixed link) |
||
Line 866:
printFileSize "/input.txt" ;;</lang>
For files greater than Pervasives.max_int, one can use the module [http://caml.inria.fr/pub/docs/manual-ocaml/libref/
<lang ocaml>let printLargeFileSize filename =
let ic = open_in filename in
|