Computer Science Canada Quick assistance |
Author: | Dante [ Tue Apr 19, 2011 6:10 pm ] | ||
Post subject: | Quick assistance | ||
What is it you are trying to achieve? Write a procedure called reverseFile that accepts the names of two text files. The first should be an existing text file that will be reversed (line by line) to form the second text file. Include reversed line numbers in the output text file. (Hint: you will have to open and close the input file several times). What is the problem you are having? Can't seem to get it...This should be simple, but it's really puzzling me. :$
![]() ![]() ![]() ![]() |
Author: | Tony [ Tue Apr 19, 2011 7:25 pm ] |
Post subject: | Re: Quick assistance |
Dante @ Tue Apr 19, 2011 6:10 pm wrote: (Hint: you will have to open and close the input file several times). |
Author: | Dante [ Tue Apr 19, 2011 7:37 pm ] |
Post subject: | Re: Quick assistance |
Tony @ Tue Apr 19, 2011 7:25 pm wrote: Dante @ Tue Apr 19, 2011 6:10 pm wrote: (Hint: you will have to open and close the input file several times). Errrm. The farthest I can go with this thus far is : Edit: Finally got this figured out. Wasted too much time on this question lol. Thanks for replying though ![]() |