search for: salidaprueba

Displaying 1 result from an estimated 1 matches for "salidaprueba".

2004 Sep 12
0
write.table performance: an alternative?
...ent and automatic? Sincerely, Carlos J. Gil Bellosta ///////////////////// Program Start ///////////////// #include <stdio.h> #include <stdlib.h> #include <stdarg.h> void escribir(int* n_lin, char** tipo, int* n, ...){ int i, j; va_list lista; FILE* f = fopen("salidaPrueba", "w"); for(i = 0; i < *n_lin; i++){ char *pAchar = *tipo; va_start(lista, *n); for(j = 0; j < *n; j++){ if(*pAchar == 'd'){ fprintf(f, " %f", *(va_arg(lista, double*) + i)); } else...