[CSC 204] Passenger Input
Andrew J. Pounds
pounds at theochem.mercer.edu
Sat May 2 08:36:54 EDT 2009
Hey -- I have attached two different comma delimited text files of the
user input from the program assignment sheet. To test your programs,
make a reader method that reads in these data (like the one you have to
read the zipcoords file). In other words, comment
out your keyboard input while testing. Once you are done testing,
comment out the passenger reader method and uncomment
the keyboard input method.
.txt file will probably work better on PC architectures
.dat file on Macs
Whichever works best really depends on how you read the data.
--
Andrew J. Pounds, Ph.D. (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
-------------- next part --------------
First Name , Last Name , Originination City , Origination State, Destination City, Destination State
Jan , Jones , Memphis , TN , Atlanta , GA
James , Jones , Memphis , TN , Atlanta , GA
John , Hunt , Columbia , SC , Atlanta , GA
Katie , Hunt , Columbia , SC , Atlanta , GA
Jane , Hunt , Columbia , SC , Daytona , FL
Amy , Doors , Columbia , SC , Daytona , FL
Zoey , Johnson , Atlanta , GA , Miami , FL
Kirt , Kohn , Johnson City , TN , Miami , FL
Cody , Cramden , Oxford , MS , Daytona , FL
Frank , Miles , Tampa , FL , Killeen , TX
Janie , Miles , Tampa , FL , Killeen , TX
Robin , Head , Arkadelphia , AR , Durham , NC
-------------- next part --------------
First Name , Last Name , Originination City , Origination State, Destination City, Destination State
Jan , Jones , Memphis , TN , Atlanta , GA
James , Jones , Memphis , TN , Atlanta , GA
John , Hunt , Columbia , SC , Atlanta , GA
Katie , Hunt , Columbia , SC , Atlanta , GA
Jane , Hunt , Columbia , SC , Daytona , FL
Amy , Doors , Columbia , SC , Daytona , FL
Zoey , Johnson , Atlanta , GA , Miami , FL
Kirt , Kohn , Johnson City , TN , Miami , FL
Cody , Cramden , Oxford , MS , Daytona , FL
Frank , Miles , Tampa , FL , Killeen , TX
Janie , Miles , Tampa , FL , Killeen , TX
Robin , Head , Arkadelphia , AR , Durham , NC
More information about the csc204
mailing list