diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5e70916
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+.vs/
+*.htm
+*.html
+Debug/
+Release/
+*.vcxproj.user
diff --git a/CrossChannel_Program/CrossChannel_Program/CrossChannel_Program.vcxproj b/CrossChannel_Program/CrossChannel_Program/CrossChannel_Program.vcxproj
index 3cf5525..f56b9b3 100644
--- a/CrossChannel_Program/CrossChannel_Program/CrossChannel_Program.vcxproj
+++ b/CrossChannel_Program/CrossChannel_Program/CrossChannel_Program.vcxproj
@@ -14,19 +14,20 @@
{8F499700-DA07-4F0D-A96E-9A480852F129}
Win32Proj
CrossChannel_Program
+ 10.0.17134.0
Application
true
- v120_xp
+ v141
Unicode
false
Application
false
- v120_xp
+ v141
true
Unicode
diff --git a/CrossChannel_Program/CrossChannel_Program/EasyUnicodeFileLE.cpp b/CrossChannel_Program/CrossChannel_Program/EasyUnicodeFileLE.cpp
index 40a9de1..9f93882 100644
--- a/CrossChannel_Program/CrossChannel_Program/EasyUnicodeFileLE.cpp
+++ b/CrossChannel_Program/CrossChannel_Program/EasyUnicodeFileLE.cpp
@@ -131,8 +131,8 @@ void EasyUnicodeFileLE::close( )
wchar_t EasyUnicodeFileLE::readWchar( )//读取一个宽字符
{
- if( !IsReadMode ) return L'';//输出模式不允许读入
- if( IsEOF( ) ) return L'';//如果已经在文件尾了,就不读了
+ if( !IsReadMode ) return 0;//输出模式不允许读入
+ if( IsEOF( ) ) return 0;//如果已经在文件尾了,就不读了
wchar_t Temp2[ 2 ];
wchar_t tempWC[ 2 ];
@@ -154,7 +154,7 @@ void EasyUnicodeFileLE::close( )
catch( ... ) {
cout << "ERROR_EUFLE008 - Unknown error." << endl;
system( "PAUSE" );
- return L'';
+ return 0;
}
return tempWC[ 0 ];
}