+ 1

How can i search into an file with scanf and get printf with few lines below?

About file read,search n print

7th Mar 2018, 5:27 PM
Ahsan Iqbal
Ahsan Iqbal - avatar
2 Answers
0
thanks for that but i did kind of read that For EX: printf("Enter the name"); scanf(" %s",&name); now i need to search the name then print it from name to 7 lines below
7th Mar 2018, 5:50 PM
Ahsan Iqbal
Ahsan Iqbal - avatar
0
still no luck if i want to find string
8th Mar 2018, 11:26 AM
Ahsan Iqbal
Ahsan Iqbal - avatar