From e2f3a662f39d8652d2eefa6b83e02181835f31ee Mon Sep 17 00:00:00 2001 From: sauron Date: Wed, 8 Oct 2025 22:54:21 +0900 Subject: [PATCH] commit 2025-10-08 22:54 edit a bit ZCppMain/ZtCStringEx.H --- ZCppMain/ZtCStringEx.H | 2 +- ZCppMainTest/ZtCStringBase_000.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZCppMain/ZtCStringEx.H b/ZCppMain/ZtCStringEx.H index fabcda7..966110b 100644 --- a/ZCppMain/ZtCStringEx.H +++ b/ZCppMain/ZtCStringEx.H @@ -302,6 +302,7 @@ namespace ZNsMain public: typedef TAlloc ZCAllocator ; + typedef TTypCh TypeChar ; typedef const TTypCh TypeCharC ; typedef const TTypCh* TypeCharCP ; typedef const TTypCh* TypeCPChar ; @@ -319,7 +320,6 @@ namespace ZNsMain typedef typename ZCTypeString::TypeLong TypeSize ; typedef typename ZCTypeString::TypeLong TypeLength ; public: - typedef typename ZCTypeChars ::TypeChar TypeChar ; // TTypCh 과 같은 형이어야 한다. typedef typename ZCTypeChars ::ZCChars ZCChars ; typedef typename ZCTypeChars ::ZCChars ZCCharView ; // // for string_view in C++17 public: diff --git a/ZCppMainTest/ZtCStringBase_000.cpp b/ZCppMainTest/ZtCStringBase_000.cpp index 9e9ebbe..49c469e 100644 --- a/ZCppMainTest/ZtCStringBase_000.cpp +++ b/ZCppMainTest/ZtCStringBase_000.cpp @@ -156,8 +156,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/ ■ mingw 컴파일 - g++.exe -o ZtCStringBase_000_mw.exe ZtCStringBase_000.cpp -I../ - g++.exe -o ZtCStringBase_000_mw_D.exe ZtCStringBase_000.cpp -I../ -D_DEBUG + g++.exe -o ZtCStringBase_000_mw.exe ZtCStringBase_000.cpp -I../ -lWs2_32 + g++.exe -o ZtCStringBase_000_mw_D.exe ZtCStringBase_000.cpp -I../ -lWs2_32 -D_DEBUG ./ZtCStringBase_000_mw.exe ./ZtCStringBase_000_mw_D.exe