heres a piece of my code :
FILE *f;
f=fopen("dump.df","w");
if(!f)
{
printf("Could not open dump.df\n");
return 1;
}
i was wondering if there is a possible way of making the filename
>> "dump.df" being asked from the user ?
something like:
scanf("%s", ??);
FILE *f;
f=fopen("%s","w"), ??;
if(!f)
{
printf("Could not open dump.df\n");
return 1;
}