Thank you for your help.
It's very useful lesson for me.!
Type: Posts; User: a0161
Thank you for your help.
It's very useful lesson for me.!
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...
OK, I can see clearly now with Salem's replayment...
I need to make my bad habit correct...
Thanks..!
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..
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...
Thanks matsp,
Your answer is very clear and helpful to me:)
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...
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.
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...
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.
You're right. I didn't see what I wanted was not to lose temp1->next and temp1->prev.
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...