Name: Anonymous 2011-05-18 8:29
Soup /prog/!
So I have an assignment where I'm supposed to do:
1. Read the text from a txt file
2. Edit the text so, that after every word there should be only one space and that after every sentence there would be 2 spaces.
3. Print the results in the screen and into a new file
So I was thinking of putting the data from the file into a linked list, edit it as required and print it into a new file.
Any better ideas?
So I have an assignment where I'm supposed to do:
1. Read the text from a txt file
2. Edit the text so, that after every word there should be only one space and that after every sentence there would be 2 spaces.
3. Print the results in the screen and into a new file
So I was thinking of putting the data from the file into a linked list, edit it as required and print it into a new file.
Any better ideas?