From 434b058a3d7c3e9884e58b7b60662413b5137649 Mon Sep 17 00:00:00 2001 From: howhow Date: Tue, 7 Feb 2017 14:58:54 +0800 Subject: [PATCH] Update wordtovc.cpp --- wordtovc.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/wordtovc.cpp b/wordtovc.cpp index d47ac02..1432bc1 100644 --- a/wordtovc.cpp +++ b/wordtovc.cpp @@ -1,3 +1,6 @@ +//此处代码引自http://blog.csdn.net/thenile/article/details/6318521#reply + + #include #include using namespace std; @@ -464,7 +467,7 @@ string findLetter(int nCode) case 7684: case 8043: case 8457: - strValue = "4337 "; + strValue = "4337 ËĹ"; break; case 6042: case 6840: @@ -1638,7 +1641,7 @@ string findLetter(int nCode) case 7918: case 7989: case 8158: - strValue = "L"; + strValue = "L¨š"; break; case 5968: case 6303: @@ -1669,7 +1672,7 @@ string findLetter(int nCode) case 8639: strValue = "LUAN"; break; - strValue = "LE"; + strValue = "L¨ľE"; break; strValue = "LUN"; break; @@ -1974,7 +1977,7 @@ string findLetter(int nCode) case 7704: case 7847: case 8412: - strValue = "N"; + strValue = "N¨ľ"; break; strValue = "NUAN"; break; @@ -2680,7 +2683,7 @@ string findLetter(int nCode) case 7666: strValue = "TAO"; break; - strValue = "1845 "; + strValue = "1845 ˛Í"; break; case 6315: case 7693: @@ -5636,4 +5639,4 @@ string findLetter(int nCode) } if (strValue == "") strValue = "?"; return strValue; -} \ No newline at end of file +}