From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA15102; Wed, 24 Apr 2002 12:44:45 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA15107 for ; Wed, 24 Apr 2002 12:44:44 +0200 (MET DST) Received: from hal-5.inet.it (hal-5.inet.it [213.92.5.24]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3OAihP10262 for ; Wed, 24 Apr 2002 12:44:43 +0200 (MET DST) Received: (from root@localhost) by hal-5.inet.it (8.11.1/8.11.1) id g3OAidQ117636 for ; Wed, 24 Apr 2002 12:44:39 +0200 Received: from unknown(194.185.164.88) by hal-5.inet.it via I-SMTP-4.0.6-100 id s-194.185.164.88-q2lljI; Wed Apr 24 12:44:38 2002 From: "Stefano Lanzavecchia" To: Subject: RE: [Caml-list] How to read three integers from a text-file... ? Date: Wed, 24 Apr 2002 12:44:37 +0200 Message-ID: <002501c1eb7d$08390b00$58a4b9c2@MADOKA> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <15557.14957.358556.545541@absurd.mimuw.edu.pl> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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 <<>> ------------------- 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