support for c++
Merge pull request #5 from plicease/cpp

support for c++