while(fscanf(f1,"%s\t%s\t%f\n",trans.num,trans.des,&trans.price)!=EOF)
{
if(strcmpi(neym,trans.num)==0)
{
printf("Enter new description :");
scanf("\n");
gets(trans.des);...
Type: Posts; User: tgeandpudding
while(fscanf(f1,"%s\t%s\t%f\n",trans.num,trans.des,&trans.price)!=EOF)
{
if(strcmpi(neym,trans.num)==0)
{
printf("Enter new description :");
scanf("\n");
gets(trans.des);...
My problem is the function edit and del
this is the file must be edited and deleted.
Partnumber --------partdescription -------------------partprice
AOC5E02011 -----AOC 5E COLORED...