The purpose of this assignment is to provide the student with experience with structures and dynamic memory in a C program.

computer science

Description

The purpose of this assignment is to provide the student with experience with structures and dynamic memory in a C program. It will incorporate lessons learned on header files and libraries.

The assignment will be contained within multiple files. 


Performing any word processing capability requires the program to store an indeterminate amount of data for retrieval and editing. 


This assignment will provide an exploration of what it takes to manage the input and storage of this type of data. 


The amount of data is unknown, and the program must be able to handle any volume of data. This means the program will have to allow for any amount of text. 


The program will allow for any number of lines of text, which also means it must handle any number of words per line of text. 


Your program must be written using dynamically allocated memory to process anywhere from one to an unlimited number of lines of text. Each line must be able to process anywhere from one to an unlimited number of words. Therefore, using a set size array of characters or a set size array of lines is not viable. No constant values can by used in the array declarations.    


Related Questions in computer science category