摘要:
Recursion is great to resolve many problems including reverse of a linked list. First let's check the non-recursive version of reverse.To reverse a linked list, we start from the head (in this essay w... 阅读全文
摘要:
No comments provided because it's quite simple. This function will avoid overwritten of source data when source and destination have space overlap. Can only be used on 32-bit platform.void* WordCopy(v... 阅读全文
摘要:
Sometimes people use global default new operator to allocate memory for objects. But in some cases, the default new operator is not quite fit for the project / program, because allocating memory will ... 阅读全文