59 char * filename =
"stdin";
63 fprintf(stderr,
"Lecture sur stdin\n");
66 filename =
strdup(argv[1]);
67 if((
f = fopen(filename,
"r")) == NULL) {
68 fprintf(stderr,
"Ouverture du fichier %s impossible\n",
74 fprintf(stderr,
"Usage: sc_fscan_print [filename]\n");
81 fprintf(stderr,
"syntaxe correcte dans %s\n",filename);
85 fprintf(stderr,
"erreur de syntaxe dans %s\n",filename);
Ptsg sc_to_sg_chernikova(Psysteme sc)
chernikova_mulprec.c
char * variable_default_name(Variable v)
char * variable_default_name(Variable v): returns the name of variable v
char * variable_dump_name(Variable v)
variable_dump_name() returns an unambiguous name for variable v, based on the pointer used to really ...
int f(int off1, int off2, int n, float r[n], float a[n], float b[n])
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 ...
int main(int argc, argv)
test de la conversion d'un systeme d'equations et d'inequations en un systeme generateur
void sg_fprint(FILE *f, Ptsg sg, char *(*nom_var)(Variable))
void sg_fprint(FILE * f, Ptsg sg, char * (*nom_var)()): impression d'un systeme generateur
Representation d'un systeme generateur par trois ensembles de sommets de rayons et de droites.