Create BASE64.cpp

http://www.oschina.net/code/snippet_579838_38819