![]() ![]() |
| |||||||||
| Hotspots: Slides and Code TA Corner Comments? Announcements FAQ Static Webspace | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Try attacking this problem top-down. First, write a function that calls 'replaceInitials' but initially just have replaceInitials do nothing. Then work out how to have replaceInitials open each file in turn, do something very trivial to it (e.g. append your initials at the end of the file), and then close it. Finally, having got that working, make replaceInitials search for your initials in the currently open file and replace them. Colin Potts |