Export Data from MFC List Control into CSV File

I just wrote some C++ code to export data from MFC list control into CSV file. And it supports different options with whether or not to include the header names into the CSV file and the delimiter in the CSV file could be customized as well. The code applies to list control with any number of columns and row.
Read More

LeetCode: Insertion Sort List

I give two different implementation ideas here: one involves no pointer manipulate and the other is the normal insertion sort on list. For the latter one which involves pointer manipulate, I further highlight a useful action to take to make your coding less error-prone.
Read More