CS 302 - Data Structures & Algorithms II - Spring 2005
Homework 3
Loyola College >
Department of Computer Science >
CS 302 >
Homework >
Homework 3
Due
Wednesday, January 26 at the beginning of class
Assignment
- Download listc.cpp and listcpp.cpp to your directory. Compile, link and run. Then alter each so that it reads and prints the 27th character in the file /cs302/code/test.dat. Copy your code to your Peanuts dropbox and submit a hardcopy of your code.
- Get a jump on PA1 by writing a C program that opens the file PA1.txt and counts the number of words in the file and prints that number to the screen. Your program can be "low-level" and not very object-oriented. Use fscanf to read in strings.