PRG/211 PRG211 PRG 211 WEEK 5 DISCUSSION 5

PRG 211 WEEK 5 DISCUSSION 5

Supporting Activity: Visual Logic Exercise - File Processsing

Write a Visual Logic program that reads a person's first name from a text (txt) file.  Compare each name read to a set of names stored in an array (that you create in the program).  If a match is found, write out a message to a 2nd text file that includes the name and a message indicating that there was a match.

Hints/Tips:
1)  Look at sample program number 3 on pages 83-87 of the Working with Visual Logic eBook for an example of using files.
2)  Remember to have the txt files, your VL program, and the VL exe in same Windows folder.

 

Answer Detail

Get This Answer

Invite Tutor