From - Fri Oct 26 16:56:20 2001
Return-Path: <strandh@labri.u-bordeaux.fr>
X-Sieve: cmu-sieve 2.0
Received: from localhost (localhost.localdomain [127.0.0.1])
	by iona.labri.fr (Postfix) with ESMTP
	id E10C57E2F; Fri, 26 Oct 2001 16:39:50 +0200 (CEST)
Received: from serveur2-1.labri.u-bordeaux.fr (serveur2-1.labri.u-bordeaux.fr [147.210.8.176])
	by iona.labri.fr (Postfix) with ESMTP
	id 300DB7E27; Fri, 26 Oct 2001 16:39:50 +0200 (CEST)
Received: (from strandh@localhost)
	by serveur2-1.labri.u-bordeaux.fr (8.9.3/8.8.8/Debian/GNU) id QAA09282;
	Fri, 26 Oct 2001 16:39:50 +0200
X-Authentication-Warning: serveur2-1.labri.u-bordeaux.fr: strandh set sender to strandh@labri.u-bordeaux.fr using -f
From: Robert STRANDH <strandh@labri.u-bordeaux.fr>
Message-ID: <15321.30133.918682.820899@serveur2-1.labri.u-bordeaux.fr>
Date: Fri, 26 Oct 2001 16:39:49 +0200
To: Pierre-Andre Wacrenier <Pierre-Andre.Wacrenier@labri.u-bordeaux.fr>
Cc: Robert STRANDH <Robert.Strandh@labri.u-bordeaux.fr>
Subject: poly C
In-Reply-To: <3BD95576.DFF648A5@labri.u-bordeaux.fr>
References: <3BD95576.DFF648A5@labri.u-bordeaux.fr>
X-Mailer: VM 6.92 under Emacs 20.7.1
X-Virus-Scanned: by AMaViS perl-11
X-Mozilla-Status: 8001
X-Mozilla-Status2: 00000000
X-UIDL: 1747

Merci.

Pierre-Andre Wacrenier writes:
 > http://dept-info.labri.u-bordeaux.fr/~wacren/IP/polys/canteaut.ps.gz 

L'en-tête de `main' (page 13) n'est pas conforme à la norme.
(corrigé page 68)

Page 14.  Il n'est pas recommandé de mettre l'expression argument à
return entre parenthèses. 

Page 27.  La boucle while montrée N'EST PAS équivalent à la boucle for
indiquée. 

Page 27.  Il faut mettre le `;' sur une ligne à part dans

     for (...);

Page 47.  Contrairement à ce qui est dit, il n'est pas nécessaire de
"caster" le résultat de malloc.

Page 49, 50, 51, etc.  Mauvais style:

  int *p;
  p = ...;

plutôt

  int *p = ...;

Page 57.  Utiliser for au lieu de while

  for(P = L; P != NULL; P = P -> suvant)
    printf(...);

Page 59.  Non, la syntaxe de return n'a pas de parenthèses. 

Page 61.  Espacement non conforme:

  puissance (int, int );
  pow(double , double );

Page 66 idem

Page 62.  éviter liste vide de paramètres.  Utiliser fonction (void)

Page 68. Espacement non conforme: int main( int ...)

La partie sur la modularité est faible.

-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------
