Search:

Type: Posts; User: a0161

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,596

    Thank you.

    Thank you for your help.
    It's very useful lesson for me.!
  2. Replies
    2
    Views
    1,596

    Text file modifying

    Hello there,

    I have a problem of modifying a text file with C++.


    Here is a text file "show.txt" that I want to modify.
    Each line has one record and Each record is separated by '\n'.
    And I...
  3. Replies
    4
    Views
    4,111

    OK, I can see clearly now with Salem's...

    OK, I can see clearly now with Salem's replayment...
    I need to make my bad habit correct...

    Thanks..!
  4. Replies
    4
    Views
    4,111

    Thank you so much, laserlight..!! It's really...

    Thank you so much, laserlight..!!
    It's really helpful for me...

    But still qurious why the seconde code works well.. even it has no '\0' character, either..
  5. Replies
    4
    Views
    4,111

    double pointer problem

    Hi, everyone.

    I tried to handle my character pointer in the function but it's not easy..

    At first, I allocate 3 lenths of character string and set as "EOF" out of function "strToHexa".
    And...
  6. Replies
    2
    Views
    1,442

    Thanks matsp, Your answer is very clear and...

    Thanks matsp,

    Your answer is very clear and helpful to me:)
  7. Replies
    2
    Views
    1,442

    int and unsignd short

    Hi,

    I made a simple function that gets and prints tomorrow's date but it doesn't work.
    It works only if I switch all "unsigned short" to regular "int".

    I think there's a problem with getting...
  8. Replies
    15
    Views
    22,542

    Thank you for providing pseudo-code:) Now I...

    Thank you for providing pseudo-code:)

    Now I got there are another conditions that I didn't consider.
    The code I made does not cover every condition.
  9. Replies
    15
    Views
    22,542

    Don't I need to check and change both side of...

    Don't I need to check and change both side of object's links which point to the object to replace?

    for exampe, there are 5 nodes.
    A - B - C - D - E
    And I want to swap B and D(by handling...
  10. Replies
    15
    Views
    22,542

    I agree with you. I thought only what to do if...

    I agree with you. I thought only what to do if one of these two is the first or the last node of double linked list. And if nodes to swap are consequtive, it won't work.
  11. Replies
    15
    Views
    22,542

    You're right. I didn't see what I wanted was not...

    You're right. I didn't see what I wanted was not to lose temp1->next and temp1->prev.
  12. Replies
    15
    Views
    22,542

    swapping nodes in double linked list

    Hi there,

    I am practicing making a double linked list. And I make a function to swap two nodes of double linked list but there's a problem in setting temporary variable to keep node's original...
Results 1 to 12 of 12