Re: scanf: floating point formats not linked

Robert Tkaczyk (gregs@elf.suwalki.tpnet.pl)
Mon, 23 Nov 1998 16:51:04 GMT


Adam Michalski wrote:
>
> Witam!
>
> Mam taki problemik. Pisalem sobie prosta funkcjem wczytujaca z pliku liczby
> typu float. Jest sobie taki programik:
>
> #include <stdio.h>
> #include <alloc.h>
> void main(int argc, char **argv)
> {
> FILE *f = fopen (argv[1], "rt");
> int ilosc, i, j;
> float p;
> float **A = (float **) malloc(ilosc * sizeof(float *));

A JAKA WARTOSC MA >>>ILOSC<<< ??????? ;)))))))

Robert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/