Search:

Type: Posts; User: miketv

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    2,391

    How to erase duplicate lines in a text file?

    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!!!
  2. Replies
    4
    Views
    935

    Hi,Salem Thank you very much.

    Hi,Salem

    Thank you very much.
  3. Replies
    4
    Views
    935

    Sorry, I think I don't list my opinion clearly. ...

    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 :
    ...
  4. Replies
    4
    Views
    935

    How to initilasize a string variable?

    Can anyone tell me?

    Thanks & Bst Rgds
  5. Yes, you're right. But I'd resovle this...

    Yes, you're right.

    But I'd resovle this problem now.

    It just need add a sentence "*ptr = '\n';" after the every loop.

    Thanks.
  6. Why I couldn't see the correct format of a file?

    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...
  7. Replies
    2
    Views
    868

    Thank you very much

    It's really well, I hope that I can finish it by your advice.

    Thanks again.
  8. Replies
    2
    Views
    868

    Can anyone help me?

    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...
Results 1 to 8 of 8