15948
As the title says, i need help in writing a code where a user inputs a word and it compares the word in a .txt file and print it to the console. Attached is how the file is read
Type: Posts; User: Joe1709
15948
As the title says, i need help in writing a code where a user inputs a word and it compares the word in a .txt file and print it to the console. Attached is how the file is read
15942
the goal is to try and read a txt file and print the content in the console
searching the id, it should display the the information for that specific id on the console
tried it still dosent work
15941
ive tried john.c but it is returning to the same error
Not that this is a part of my code and all int have been initialized from the start
As mentioned above I have a problem with the code below
printf("\n**ID Search**");
printf("\nEnter ID:");
scanf("%s", &id2);
fp = fopen("registration.txt", "r");