Overview Schedule Announcements Resources Assignments Home

CSC 121: Computer Science I, Spring 2005

In-Class Exercise: IP Addresses

Starting Project 5

Goals:
Working with project 5: ordered lists of Strings, IP Addresses.
Getting started:
The Steps of the Lab:
  1. Open the iomodule project.
    Challenge

    Write a method in the FileIO class that counts the number of different IP addresses in the web log file you have been using.

    Read about the split method in the String class. Use it instead of the substring method to extract the IP address from each line of the file.

Overview Schedule Announcements Resources Assignments Home

Valid HTML 4.01!Valid CSS!DePauw University , Computer Science Department , Spring 2005
Maintained by Brian Howard ( bhoward@depauw.edu ). Last updated