Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #10973
| Date | 2011-12-23 06:37 -0800 |
|---|---|
| From | Patricia Shanahan <pats@acm.org> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: comparing two test files |
| References | <5fdf65a2-052b-4c0b-b6bf-bc4dc8a7dd02@v24g2000prn.googlegroups.com> <debugging-20111223121356@ram.dialup.fu-berlin.de> |
| Message-ID | <1IGdnbzxbYSzD2nTnZ2dnUVZ_rednZ2d@earthlink.com> (permalink) |
On 12/23/2011 3:15 AM, Stefan Ram wrote: > ruds<rudranee@gmail.com> writes: >> I want to compare the content of two files, which in turn gives me the >> output which lines are deleted from latest version and which lines are >> added in it and also if the first line no is same is details changed. > (...) >> it iterates through the first file but doest not enter the second >> while loop after reading once onle i.e for the first line of first >> file. > > Learn the craft of debugging: You need to inspect the values > of loop-critical expressions at run time and then > understand, why they have these values. I've written a web page on the subject of how to debug, http://www.patriciashanahan.com/debug Patricia
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
comparing two test files ruds <rudranee@gmail.com> - 2011-12-23 00:45 -0800
Re: comparing two test files Jeff Higgins <jeff@invalid.invalid> - 2011-12-23 05:27 -0500
Re: comparing two test files Jeff Higgins <jeff@invalid.invalid> - 2011-12-23 06:03 -0500
Re: comparing two test files Patricia Shanahan <pats@acm.org> - 2011-12-23 06:37 -0800
Re: comparing two test files Gene Wirchenko <genew@ocis.net> - 2011-12-23 09:18 -0800
Re: comparing two test files Patricia Shanahan <pats@acm.org> - 2011-12-23 10:25 -0800
Re: comparing two test files Gene Wirchenko <genew@ocis.net> - 2011-12-23 11:13 -0800
Re: comparing two test files Patricia Shanahan <pats@acm.org> - 2011-12-23 11:45 -0800
Re: comparing two test files markspace <-@.> - 2011-12-23 07:50 -0800
csiph-web