Hi anduril,
I am still stuck, Please help.
the data00 file has :
:testing:testing.c:2481:
My updated code is :
FILE *fp=fopen("data00","r");
Type: Posts; User: Madhavi
Hi anduril,
I am still stuck, Please help.
the data00 file has :
:testing:testing.c:2481:
My updated code is :
FILE *fp=fopen("data00","r");
Thanks,
I tried using %[^:] instead of %a[^:] which gives me this error now:
warning: format '%[^:' expects argument of type 'char *', but argument 3 has type 'char **' [-Wformat=]
int...
insert
FILE *fp=fopen("data00","r");
if( ! fp )
{
printf("unable to open name of data00 file\n");
}
char *sName=NULL;