Question: 6. Text Matching Program Write a program that opens a text file containing up to 60K bytes and performs a case-insensitive search for a string.
6. Text Matching Program Write a program that opens a text file containing up to 60K bytes and performs a case-insensitive search for a string. The string and the filename can be input by the user. Display each line from the file on which the string appears and prefix each line with a line number. Review the Str_find procedure from the programming exercises in Section 9.7. Your program must run in real-address mode.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
