printf("Find criminal I.D number:");
fscanf(fp,"%s %s %s\n",&pnum,&fname,&lname);
printf("\n\n%s %s %s\n",pnum,fname,lname);
printf("\nFound %s %s %s\n",pnum,fname,lname);
printf("There are no Criminal Records Found\n",findname);
======> simple, i just want to remove that many "no criminal records found, and then and what should i declare? can someone fix this for me, file handling problems.. thank you :)
You know there's a beginners section of the forum, and you REALLY need to wrap the code in tags (It shows you how in beginners posting bit).