Hi all,
could you kindly tell me how to erase duplicate lines in a text file? such as effective algorithm or data structure?
Thanks a lot!!!
Type: Posts; User: miketv
Hi all,
could you kindly tell me how to erase duplicate lines in a text file? such as effective algorithm or data structure?
Thanks a lot!!!
Hi,Salem
Thank you very much.
Sorry, I think I don't list my opinion clearly.
Here is my program's situation, I need use the string variable repeatly in a loop like this:
declare block :
...
Can anyone tell me?
Thanks & Bst Rgds
Yes, you're right.
But I'd resovle this problem now.
It just need add a sentence "*ptr = '\n';" after the every loop.
Thanks.
Hi all,
Now I'm coding a short program which can get the string from 2 column to 72 column in a file(total 80 column), but the run result is not right, the format of the outfile is not...
It's really well, I hope that I can finish it by your advice.
Thanks again.
Hi,
in the recent day, I get a mission about coding a pgm which can analyze the variables and function of the old PL/I programs. It's really difficult to me, I want to code this pgm by using...