English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] How to read three integers from a text-file... ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-04-24 (10:44)
From: Stefano Lanzavecchia <stf@a...>
Subject: RE: [Caml-list] How to read three integers from a text-file... ?
> Moreover in such contests the use of external libraries (Str) if often
> forbidden.

Well, in that case the use of scanf should be prohibited too. Str is
part of the standard OCaml distributed library and it's in no way
different from scanf. While it's certainly easy to rewrite parts of Str
in OCaml (and the source code is available), your students would
probably find a bit harder to recode scanf in pure C...
WildHeart'2k2 - mailto:stf@apl.it
Homepage: currently offline

<<<Ne aishitara daremo ga Konna kodoku ni naru no? ---
   Hey If you fall in love Does everyone become this lonely?>>>

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners