Question: CpSc 1110 Fall 2016, Programming Assignment 3 File Analysis Due 11:59 pm Monday, November 28h 1. Overview For this assignment, you will write a multi-file

 CpSc 1110 Fall 2016, Programming Assignment 3 File Analysis Due 11:59pm Monday, November 28h 1. Overview For this assignment, you will write

CpSc 1110 Fall 2016, Programming Assignment 3 File Analysis Due 11:59 pm Monday, November 28h 1. Overview For this assignment, you will write a multi-file program that will perform some analysis on the contents of a file (that is provided to you) by reading the contents into a 2-D array The purpose of this assignment is to give you some experience performing some file L'O; also more experience with multiple files, including header and makefiles; function calls that take in arguments and return values; passing arrays as an argument; as well as the other C concepts you have learned thus far Your program will first read in the contents of a file into an array of strings (a 2-D array). Each row of the array is one line from the file. Once you have the contents stored in the array, you can perform different tasks, such as printing the contents back out to the screen, counting the number of lines in the file, counting the number of words in the file, counting the number of characters in the file, converting the case of each character, and searching for a word specified by the user and showing the number of occurrences for that word. 2. More Specifics Your program should contain the following files I. asg3.c. (contains main(), textinit(), textPrint() functions) 2. counts.c (contains the counts () function which will find the number of words and the number of characters) 3. convertCase.c (contains convertCase () function, like you did in lab 6) 4. wordSearch.c (contains searchForWord () function, which has something tricky about it) 5. makefile (Your makefile should name your executable asg3) 6. defs.h (I will provide this file to you.) 7. poe-raven.txt (I will provide this file to you.) To copy the two files that I am providing plus a sample output.txt file, navigate to your working directory and type the following cp /home/chochri/111/F16/asg3/* Since we will not get through pointers early enough, you can do the entire program without any pointers; and to run the program, you should use redirection by typing the following asg3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!