61 fprintf(stdout,
"Usage: %s sc1 sc2\n",argv[0]);
65 if((f1 = fopen(argv[1],
"r")) == NULL) {
66 fprintf(stdout,
"Ouverture du fichier %s impossible\n",
71 if((
f2 = fopen(argv[2],
"r")) == NULL) {
72 fprintf(stdout,
"Ouverture du fichier %s impossible\n",
79 fprintf(stderr,
"syntaxe correcte dans %s\n",argv[1]);
83 fprintf(stderr,
"erreur de syntaxe dans %s\n",argv[1]);
89 fprintf(stderr,
"syntaxe correcte dans %s\n",argv[2]);
93 fprintf(stderr,
"erreur de syntaxe dans %s\n",argv[2]);
main(int argc, argv)
test du calcul de l'enveloppe convexe de deux polyedres
char * variable_default_name(Variable v)
char * variable_default_name(Variable v): returns the name of variable v
int f2(int off1, int off2, int w, int n, float r[n], float a[n], float b[n])
Psysteme sc_translate(Psysteme s, Pbase b, char *(*variable_name)())
Psysteme sc_translate(Psysteme s, Pbase b, char * (*variable_name)()): reecriture du systeme s dans l...
void sc_fprint(FILE *fp, Psysteme ps, get_variable_name_t nom_var)
void sc_fprint(FILE * f, Psysteme ps, char * (*nom_var)()): cette fonction imprime dans le fichier po...
bool sc_fscan(FILE *f, Psysteme *ps)
bool sc_fscan(FILE * f, Psysteme * ps): construit un systeme d'inegalites et d'egalites lineaires a p...
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...