Problems with fopen and strcmp.c
Martin Kahlert
martin.kahlert@keksy.mchp.siemens.de
Tue Nov 9 06:31:00 GMT 1999
In article < 8095v8$qcl$1@nnrp1.deja.com >,
tobias_meier@my-deja.com writes:
> Hi,
>
> I am using Suse Linux 6.0.
I use Suse 6.1.
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> #include <malloc.h>
>
> main()
> {
> File *in_ptr = NULL;
> char *in_file = "myfile";
>
> in_ptr = fopen(in_file,"r");
> ...
>
> }
>
If i change File into FILE, it runs perfectly (linux, gcc-2.95.2)
Bye,
Martin.
--
The early bird gets the worm. If you want something else for
breakfast, get up later.
More information about the Gcc-help
mailing list