fixing list increasing bug and update c++
Merge pull request #36 from binfeng/develop

fixing list increasing bug and update c++