commit 2025-10-10 20:45 edit by g++ option -Wall -Wno-unused-function -Wno-misleading-indentation
This commit is contained in:
@ -348,7 +348,7 @@ namespace ZNsMain
|
|||||||
typename TEnvVar , //= ZNsMain::ZNsCGI::ZNsBase::ZtCEnvVar<TStringData>,
|
typename TEnvVar , //= ZNsMain::ZNsCGI::ZNsBase::ZtCEnvVar<TStringData>,
|
||||||
typename TEnvVarSet //= NsCPP::ZtCObjAVL<TEnvVar>
|
typename TEnvVarSet //= NsCPP::ZtCObjAVL<TEnvVar>
|
||||||
>
|
>
|
||||||
class ZtCTypeEnvVarSet /*############################################################*/
|
class ZtCTypeEnvVarSet ##############################################################*/
|
||||||
|
|
||||||
}/*
|
}/*
|
||||||
namespace NsType*/
|
namespace NsType*/
|
||||||
|
1747
ZCppMain/ZMainEnc.H
1747
ZCppMain/ZMainEnc.H
File diff suppressed because it is too large
Load Diff
@ -194,6 +194,7 @@
|
|||||||
#include <climits>
|
#include <climits>
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
|
||||||
#define _CODE_OLD_ 0
|
#define _CODE_OLD_ 0
|
||||||
@ -856,7 +857,7 @@ namespace ZNsMain
|
|||||||
const TTyChar* ZApcLeft , TTyiLength ZAiLenLeft ,
|
const TTyChar* ZApcLeft , TTyiLength ZAiLenLeft ,
|
||||||
const TTyChar* ZApcRight, TTyiLength zAiLenRight
|
const TTyChar* ZApcRight, TTyiLength zAiLenRight
|
||||||
)
|
)
|
||||||
/*######################################################################*/
|
########################################################################*/
|
||||||
|
|
||||||
|
|
||||||
/* 어떤 변수를 강제적으로 참조로 인식하게 하는 클래스. 인수를 참조로
|
/* 어떤 변수를 강제적으로 참조로 인식하게 하는 클래스. 인수를 참조로
|
||||||
@ -3773,7 +3774,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
template<typename TLong> TLong ZfABS(TLong AL_Value)
|
template<typename TLong> TLong ZfABS(TLong AL_Value)
|
||||||
{
|
{
|
||||||
if(AL_Value<0) return -AL_Value; return AL_Value;
|
if(AL_Value<0){return -AL_Value;} return AL_Value;
|
||||||
}/*
|
}/*
|
||||||
template<typename TLong> TLong ZfABS(TLong AL_Value) */
|
template<typename TLong> TLong ZfABS(TLong AL_Value) */
|
||||||
|
|
||||||
@ -3818,7 +3819,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
inline ZTypLLong ZfAtoLL(const char* ApcChar)
|
inline ZTypLLong ZfAtoLL(const char* ApcChar)
|
||||||
{
|
{
|
||||||
if(ApcChar==0) return 0; return ::atoll(ApcChar);
|
if(ApcChar==0){ return 0;} return ::atoll(ApcChar);
|
||||||
}/*
|
}/*
|
||||||
inline ZTypLLong ZfAtoLL(const char* ApcChar)*/
|
inline ZTypLLong ZfAtoLL(const char* ApcChar)*/
|
||||||
|
|
||||||
@ -3834,7 +3835,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
inline ZTypLong ZfAtoL(const char* ApcChar)
|
inline ZTypLong ZfAtoL(const char* ApcChar)
|
||||||
{
|
{
|
||||||
if(ApcChar==0) return 0; return ::atol(ApcChar);
|
if(ApcChar==0){return 0;} return ::atol(ApcChar);
|
||||||
}/*
|
}/*
|
||||||
inline ZTypLong ZfAtoL(const char* ApcChar)*/
|
inline ZTypLong ZfAtoL(const char* ApcChar)*/
|
||||||
|
|
||||||
@ -3847,7 +3848,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
inline ZTypIntI ZfAtoI(const char* ApcChar)
|
inline ZTypIntI ZfAtoI(const char* ApcChar)
|
||||||
{
|
{
|
||||||
if(ApcChar==0) return 0; return ::atoi(ApcChar);
|
if(ApcChar==0){return 0;} return ::atoi(ApcChar);
|
||||||
}/*
|
}/*
|
||||||
inline ZTypIntI ZfAtoI(const char* ApcChar)*/
|
inline ZTypIntI ZfAtoI(const char* ApcChar)*/
|
||||||
|
|
||||||
@ -4966,7 +4967,7 @@ namespace ZNsMain
|
|||||||
}/*
|
}/*
|
||||||
if((VL_ErrCode = ::WaitForSingleObject(mh_Mutex, INFINITE))==WAIT_ABANDONED)*/
|
if((VL_ErrCode = ::WaitForSingleObject(mh_Mutex, INFINITE))==WAIT_ABANDONED)*/
|
||||||
}/*
|
}/*
|
||||||
void Lock() /*throw(ZCExceptSmallLock&)*/
|
void Lock() //throw(ZCExceptSmallLock&)*/
|
||||||
|
|
||||||
void UnLock()
|
void UnLock()
|
||||||
{
|
{
|
||||||
@ -6777,7 +6778,7 @@ namespace ZNsMain
|
|||||||
TypeSize AI_CutSize, TypeThis& rhs ,
|
TypeSize AI_CutSize, TypeThis& rhs ,
|
||||||
ZCLinkOpt AO_LinkOpt, bool AB_After
|
ZCLinkOpt AO_LinkOpt, bool AB_After
|
||||||
)
|
)
|
||||||
/*#####################################################################*/
|
#######################################################################*/
|
||||||
|
|
||||||
|
|
||||||
ZtCBaseList& SendRangeOutAfter //////////////////////////////////////////
|
ZtCBaseList& SendRangeOutAfter //////////////////////////////////////////
|
||||||
@ -6815,7 +6816,7 @@ namespace ZNsMain
|
|||||||
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
||||||
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
||||||
)
|
)
|
||||||
/*#####################################################################*/
|
#######################################################################*/
|
||||||
|
|
||||||
|
|
||||||
TypeThis& CopyThis(TypeThis& ARR_Rhs) const
|
TypeThis& CopyThis(TypeThis& ARR_Rhs) const
|
||||||
@ -7630,7 +7631,7 @@ namespace ZNsMain
|
|||||||
};/*
|
};/*
|
||||||
template< typename TTypeChar, typename TTypeLength=ZTypLength
|
template< typename TTypeChar, typename TTypeLength=ZTypLength
|
||||||
>
|
>
|
||||||
class ZtCChars /**#########################################*/
|
class ZtCChars ############################################*/
|
||||||
|
|
||||||
|
|
||||||
typedef ZtCChars<char > ZCChars ;
|
typedef ZtCChars<char > ZCChars ;
|
||||||
@ -7806,17 +7807,17 @@ namespace ZNsMain
|
|||||||
|
|
||||||
virtual void Log(const char* APC_LogData, ZTypLength AI_Length)
|
virtual void Log(const char* APC_LogData, ZTypLength AI_Length)
|
||||||
{
|
{
|
||||||
__for0(ZTypLength, i, AI_Length){cout<<APC_LogData[i];}
|
__for0(ZTypLength, i, AI_Length){std::cout<<APC_LogData[i];}
|
||||||
}/*
|
}/*
|
||||||
virtual void Log(const char* APC_LogData, ZTypLength AI_Length)*/
|
virtual void Log(const char* APC_LogData, ZTypLength AI_Length)*/
|
||||||
|
|
||||||
virtual void Log(const char* APC_LogData)
|
virtual void Log(const char* APC_LogData)
|
||||||
{ cout<<APC_LogData; }
|
{ std::cout<<APC_LogData; }
|
||||||
|
|
||||||
virtual void Log(int AI_LogData){ cout<<AI_LogData; }
|
virtual void Log(int AI_LogData){ std::cout<<AI_LogData; }
|
||||||
virtual void Log(long AL_LogData){ cout<<AL_LogData; }
|
virtual void Log(long AL_LogData){ std::cout<<AL_LogData; }
|
||||||
virtual void Log(double AD_LogData){ cout<<AD_LogData; }
|
virtual void Log(double AD_LogData){ std::cout<<AD_LogData; }
|
||||||
virtual void Log(char AC_LogData){ cout<<AC_LogData; }
|
virtual void Log(char AC_LogData){ std::cout<<AC_LogData; }
|
||||||
virtual void Log(bool AB_LogData)
|
virtual void Log(bool AB_LogData)
|
||||||
{
|
{
|
||||||
cout<<(AB_LogData ? "true" : "false");
|
cout<<(AB_LogData ? "true" : "false");
|
||||||
|
@ -1157,7 +1157,7 @@ namespace ZNsMain
|
|||||||
{
|
{
|
||||||
time_t VI_TimeSec=ZNsMain::ZCTime::MakeTimeInt(AI_Year, AI_Month, AI_Day, AI_Hour, AI_Min, AI_Sec);
|
time_t VI_TimeSec=ZNsMain::ZCTime::MakeTimeInt(AI_Year, AI_Month, AI_Day, AI_Hour, AI_Min, AI_Sec);
|
||||||
|
|
||||||
if(VI_TimeSec<1) return false; *this+=VI_TimeSec; return true ;
|
if(VI_TimeSec<1){return false;} *this+=VI_TimeSec; return true ;
|
||||||
}/*
|
}/*
|
||||||
bool GetDiffSec(time_t& ARRI_TimeGap, int AI_Year,int AI_Month,int AI_Day,int AI_Hour,int AI_Min,int AI_Sec)*/
|
bool GetDiffSec(time_t& ARRI_TimeGap, int AI_Year,int AI_Month,int AI_Day,int AI_Hour,int AI_Min,int AI_Sec)*/
|
||||||
|
|
||||||
@ -5290,7 +5290,7 @@ namespace ZNsMain
|
|||||||
ZNsMain::ZNsEnum::ZERun (*APF_EachFile)(ZTypCPCh APC_NowPath, ZCFileData& AR_CFileData, void* APC_VoidKey),
|
ZNsMain::ZNsEnum::ZERun (*APF_EachFile)(ZTypCPCh APC_NowPath, ZCFileData& AR_CFileData, void* APC_VoidKey),
|
||||||
ZNsMain::ZNsEnum::ZERun (*APF_EachDir )(ZTypCPCh APC_NowPath, ZCFileData& AR_CFileData, void* APC_VoidKey)=0
|
ZNsMain::ZNsEnum::ZERun (*APF_EachDir )(ZTypCPCh APC_NowPath, ZCFileData& AR_CFileData, void* APC_VoidKey)=0
|
||||||
)
|
)
|
||||||
/*##########################################################################*/
|
############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
/*////////////////////////////////////////////////////
|
/*////////////////////////////////////////////////////
|
||||||
@ -5762,11 +5762,11 @@ namespace ZNsMain
|
|||||||
char* VP_NowDir = ::getcwd
|
char* VP_NowDir = ::getcwd
|
||||||
((char*)ARR_CStringDir.data(), CI_BuffSize);
|
((char*)ARR_CStringDir.data(), CI_BuffSize);
|
||||||
|
|
||||||
if(VP_NowDir==0) return false; ARR_CStringDir.
|
if(VP_NowDir==0){return false;} ARR_CStringDir.
|
||||||
|
|
||||||
resize(ZNsMain::ZftLength(VP_NowDir), ' ') ;
|
resize(ZNsMain::ZftLength(VP_NowDir), ' ') ;
|
||||||
|
|
||||||
return true; /********************************/
|
return true; /*********************************/
|
||||||
}/*
|
}/*
|
||||||
if(false==AB_DoKeepPrev)*/
|
if(false==AB_DoKeepPrev)*/
|
||||||
|
|
||||||
@ -7367,7 +7367,7 @@ namespace ZNsMain
|
|||||||
ZTypCPCh APC_FileName , ZTypCPCh APC_Content ,
|
ZTypCPCh APC_FileName , ZTypCPCh APC_Content ,
|
||||||
ZTypLength AL_ContentLen, bool AB_DoAppend=true, int AI_RightMode=-1
|
ZTypLength AL_ContentLen, bool AB_DoAppend=true, int AI_RightMode=-1
|
||||||
)
|
)
|
||||||
/*#####################################################################################################*/
|
#######################################################################################################*/
|
||||||
|
|
||||||
|
|
||||||
template<typename TStringData> bool ZftLoadFile /*////////////////////////////*/
|
template<typename TStringData> bool ZftLoadFile /*////////////////////////////*/
|
||||||
|
@ -1836,7 +1836,7 @@ namespace ZNsMain
|
|||||||
TypeSize AI_CutSize, TypeThis& rhs ,
|
TypeSize AI_CutSize, TypeThis& rhs ,
|
||||||
ZCLinkOpt AO_LinkOpt, bool AB_After
|
ZCLinkOpt AO_LinkOpt, bool AB_After
|
||||||
)
|
)
|
||||||
/*#####################################################################*/
|
#######################################################################*/
|
||||||
|
|
||||||
|
|
||||||
TypeThis& SendRangeOutAfter /////////////////////////////////////////////
|
TypeThis& SendRangeOutAfter /////////////////////////////////////////////
|
||||||
@ -1876,7 +1876,7 @@ namespace ZNsMain
|
|||||||
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
||||||
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
||||||
)
|
)
|
||||||
/*#####################################################################*/
|
#######################################################################*/
|
||||||
|
|
||||||
|
|
||||||
TypeThis& CopyThis(TypeThis& ARR_Rhs) const
|
TypeThis& CopyThis(TypeThis& ARR_Rhs) const
|
||||||
@ -2753,7 +2753,7 @@ namespace ZNsMain
|
|||||||
TypeSize AI_CutSize, TypeThis& rhs ,
|
TypeSize AI_CutSize, TypeThis& rhs ,
|
||||||
ZCLinkOpt AO_LinkOpt, bool AB_After
|
ZCLinkOpt AO_LinkOpt, bool AB_After
|
||||||
)
|
)
|
||||||
/*#####################################################################*/
|
#######################################################################*/
|
||||||
|
|
||||||
|
|
||||||
TypeThis& SendRangeOutAfter /////////////////////////////////////////////
|
TypeThis& SendRangeOutAfter /////////////////////////////////////////////
|
||||||
@ -2793,7 +2793,7 @@ namespace ZNsMain
|
|||||||
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
||||||
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
||||||
)
|
)
|
||||||
/*#####################################################################*/
|
#######################################################################*/
|
||||||
|
|
||||||
|
|
||||||
TypeThis& CopyThis(TypeThis& ARR_Rhs) const
|
TypeThis& CopyThis(TypeThis& ARR_Rhs) const
|
||||||
|
@ -480,7 +480,7 @@ namespace ZNsMain
|
|||||||
(
|
(
|
||||||
const TypeChar* AP_CharID, ZCStringData& ARR_CStringSave
|
const TypeChar* AP_CharID, ZCStringData& ARR_CStringSave
|
||||||
) const
|
) const
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
ZCStringData GetElementValueByID(const ZCStringData& AR_CStringID) const
|
ZCStringData GetElementValueByID(const ZCStringData& AR_CStringID) const
|
||||||
@ -4040,7 +4040,7 @@ namespace ZNsMain
|
|||||||
const TypeChar* APC_XmlData ,
|
const TypeChar* APC_XmlData ,
|
||||||
TypeLength AI_DataLen
|
TypeLength AI_DataLen
|
||||||
)
|
)
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
template<typename TViewLoadXml, typename TMainChars>
|
template<typename TViewLoadXml, typename TMainChars>
|
||||||
ZERunEx Exec(TViewLoadXml& AR_CViewLoadXml, const TMainChars& AR_CMainChars)
|
ZERunEx Exec(TViewLoadXml& AR_CViewLoadXml, const TMainChars& AR_CMainChars)
|
||||||
|
@ -348,7 +348,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
return AL_LeftLength-AL_RightLength;
|
return AL_LeftLength-AL_RightLength;
|
||||||
}/*
|
}/*
|
||||||
static int Minus /*###################################################
|
static int Minus #@###################################################
|
||||||
(
|
(
|
||||||
const TypeChar* APC_Left , const TypeChar* APC_Right,
|
const TypeChar* APC_Left , const TypeChar* APC_Right,
|
||||||
TypeLength AL_LeftLength, TypeLength AL_RightLength
|
TypeLength AL_LeftLength, TypeLength AL_RightLength
|
||||||
@ -445,7 +445,7 @@ namespace ZNsMain
|
|||||||
);
|
);
|
||||||
/*:::::::::::::::::::::::::::::::::::::*/
|
/*:::::::::::::::::::::::::::::::::::::*/
|
||||||
|
|
||||||
if(CB_IsOK) return i; ARA_SearchArray.MoveNextIter(RR(CI_IterEasyID));
|
if(CB_IsOK){return i;} ARA_SearchArray.MoveNextIter(RR(CI_IterEasyID));
|
||||||
}/*
|
}/*
|
||||||
__for1(TypeLength, i, VL_ArrSize)*/
|
__for1(TypeLength, i, VL_ArrSize)*/
|
||||||
|
|
||||||
@ -647,7 +647,7 @@ namespace ZNsMain
|
|||||||
TypeCharC* APC_Origin1 , TypeCharC* APC_Origin2 , TypeCharC* APC_Search,
|
TypeCharC* APC_Origin1 , TypeCharC* APC_Origin2 , TypeCharC* APC_Search,
|
||||||
TypeLength AL_OriginLength1, TypeLength AL_OriginLength2, TypeLength AL_SearchLength
|
TypeLength AL_OriginLength1, TypeLength AL_OriginLength2, TypeLength AL_SearchLength
|
||||||
)
|
)
|
||||||
/*#########################################################################################*/
|
###########################################################################################*/
|
||||||
|
|
||||||
|
|
||||||
// 앞뒤 부분의 문자열이 APC_Search 로 끝나면 true.
|
// 앞뒤 부분의 문자열이 APC_Search 로 끝나면 true.
|
||||||
@ -729,7 +729,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_OriginLength, TypeLength AL_SearchLength,
|
TypeLength AL_OriginLength, TypeLength AL_SearchLength,
|
||||||
TypeLength AL_StartPos=0
|
TypeLength AL_StartPos=0
|
||||||
)
|
)
|
||||||
/*######################################################################*/
|
########################################################################*/
|
||||||
|
|
||||||
|
|
||||||
template<typename TTyChars> static TypeLength FindPosLen(
|
template<typename TTyChars> static TypeLength FindPosLen(
|
||||||
@ -1096,7 +1096,7 @@ namespace ZNsMain
|
|||||||
) > 0 ;
|
) > 0 ;
|
||||||
//////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////
|
||||||
|
|
||||||
if(CB_IsOK) return VL_FindPos+AL_WrapCloseLen; return -1;
|
if(CB_IsOK){return VL_FindPos+AL_WrapCloseLen;} return -1;
|
||||||
}/*
|
}/*
|
||||||
if(ZtCMainChars::DoStart(APC_Origin, APC_WrapStart, AL_OriginLen, AL_WrapStartLen)==true)*/
|
if(ZtCMainChars::DoStart(APC_Origin, APC_WrapStart, AL_OriginLen, AL_WrapStartLen)==true)*/
|
||||||
|
|
||||||
@ -1209,7 +1209,7 @@ namespace ZNsMain
|
|||||||
}
|
}
|
||||||
/*//////////////////////*/
|
/*//////////////////////*/
|
||||||
|
|
||||||
if(j==AL_SearchLen) return i; --i;
|
if(j==AL_SearchLen){return i;} --i;
|
||||||
}/*
|
}/*
|
||||||
while(i>=0)*/
|
while(i>=0)*/
|
||||||
|
|
||||||
@ -1220,7 +1220,7 @@ namespace ZNsMain
|
|||||||
TypeCharC* APC_Origin , TypeCharC* APC_Search,
|
TypeCharC* APC_Origin , TypeCharC* APC_Search,
|
||||||
TypeLength AL_OriginLen, TypeLength AL_SearchLen
|
TypeLength AL_OriginLen, TypeLength AL_SearchLen
|
||||||
)
|
)
|
||||||
/*#######################################################################################*/
|
#########################################################################################*/
|
||||||
|
|
||||||
template<typename TTyChars> static TypeLength FindPosFromEnd
|
template<typename TTyChars> static TypeLength FindPosFromEnd
|
||||||
(const TTyChars& AR_CCharsOrigin, const TTyChars& AR_CCharsSearch)
|
(const TTyChars& AR_CCharsOrigin, const TTyChars& AR_CCharsSearch)
|
||||||
@ -1285,7 +1285,7 @@ namespace ZNsMain
|
|||||||
TypeCharC* APC_Origin , TypeCharC* APC_Search,
|
TypeCharC* APC_Origin , TypeCharC* APC_Search,
|
||||||
TypeLength AL_OriginLength, TypeLength AL_SearchLength
|
TypeLength AL_OriginLength, TypeLength AL_SearchLength
|
||||||
)
|
)
|
||||||
/*######################################################################*/
|
########################################################################*/
|
||||||
|
|
||||||
|
|
||||||
/* 앞에서부터 감싸는 문자열 APC_WrapStart 와 APC_WrapClose 사이에 있는 문자열이 n 회
|
/* 앞에서부터 감싸는 문자열 APC_WrapStart 와 APC_WrapClose 사이에 있는 문자열이 n 회
|
||||||
@ -2379,7 +2379,7 @@ namespace ZNsMain
|
|||||||
);
|
);
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
|
|
||||||
if(CB_IsOK==false) return 0; return AL_OriginLen;
|
if(CB_IsOK==false){return 0;} return AL_OriginLen;
|
||||||
}/*
|
}/*
|
||||||
if(AL_OriginLen<AL_SearchLen-AL_SearchOffset)*/
|
if(AL_OriginLen<AL_SearchLen-AL_SearchOffset)*/
|
||||||
|
|
||||||
@ -2391,7 +2391,7 @@ namespace ZNsMain
|
|||||||
);
|
);
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
|
|
||||||
if(CB_IsOK==false) return 0; return AL_SearchLen-AL_SearchOffset;
|
if(CB_IsOK==false){return 0;} return AL_SearchLen-AL_SearchOffset;
|
||||||
}/*
|
}/*
|
||||||
TypeLength GetStartLength ########################################
|
TypeLength GetStartLength ########################################
|
||||||
(
|
(
|
||||||
@ -2401,7 +2401,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_SearchLen,
|
TypeLength AL_SearchLen,
|
||||||
TypeLength AL_SearchOffset=0
|
TypeLength AL_SearchOffset=0
|
||||||
)
|
)
|
||||||
/*##############################################################*/
|
################################################################*/
|
||||||
|
|
||||||
template<typename TTyChars> static TypeLength GetStartLength(
|
template<typename TTyChars> static TypeLength GetStartLength(
|
||||||
const TTyChars& AR_CCharsOrigin, const TTyChars& AR_CCharsSearch, TypeLength AL_SearchOffset=0)
|
const TTyChars& AR_CCharsOrigin, const TTyChars& AR_CCharsSearch, TypeLength AL_SearchOffset=0)
|
||||||
@ -2702,7 +2702,7 @@ namespace ZNsMain
|
|||||||
bool AB_DoAppendEachLink=false,
|
bool AB_DoAppendEachLink=false,
|
||||||
bool AB_DoAppendEmpty =false
|
bool AB_DoAppendEmpty =false
|
||||||
)
|
)
|
||||||
/*######################################################################*/
|
########################################################################*/
|
||||||
|
|
||||||
|
|
||||||
/*//////////////////////////////////////////////////////////////////////////
|
/*//////////////////////////////////////////////////////////////////////////
|
||||||
@ -2842,9 +2842,9 @@ namespace ZNsMain
|
|||||||
bool AB_DoEndWhenNoMatch=true ,
|
bool AB_DoEndWhenNoMatch=true ,
|
||||||
bool AB_DoAppendEachLink=false
|
bool AB_DoAppendEachLink=false
|
||||||
)
|
)
|
||||||
/*######################################################################*/
|
########################################################################*/
|
||||||
|
|
||||||
template<typename TStringList, typename TTyChars> //////////////////
|
template<typename TStringList, typename TTyChars> ////////////////////////
|
||||||
static TStringList& SplitToListWrap(
|
static TStringList& SplitToListWrap(
|
||||||
TStringList& ARR_SaveList ,
|
TStringList& ARR_SaveList ,
|
||||||
const TTyChars& AR_CCharsOrigin ,
|
const TTyChars& AR_CCharsOrigin ,
|
||||||
@ -2853,7 +2853,7 @@ namespace ZNsMain
|
|||||||
const TTyChars& AR_CCharsWrapClose,
|
const TTyChars& AR_CCharsWrapClose,
|
||||||
bool AB_DoEndWhenNoMatch=true ,
|
bool AB_DoEndWhenNoMatch=true ,
|
||||||
bool AB_DoAppendEachLink=false
|
bool AB_DoAppendEachLink=false
|
||||||
/*//////////*/ ) ///////////////////////////////////////////////*/
|
/*//////////*/ ) ///////////////////////////////////////////////////////*/
|
||||||
{
|
{
|
||||||
return ZtCMainChars::SplitToListWrap(
|
return ZtCMainChars::SplitToListWrap(
|
||||||
ARR_SaveList,
|
ARR_SaveList,
|
||||||
@ -2862,7 +2862,7 @@ namespace ZNsMain
|
|||||||
AB_DoEndWhenNoMatch, AB_DoAppendEachLink
|
AB_DoEndWhenNoMatch, AB_DoAppendEachLink
|
||||||
/*//////////*/ );
|
/*//////////*/ );
|
||||||
}/*
|
}/*
|
||||||
template<typename TStringList, typename TTyChars> //////////////////
|
template<typename TStringList, typename TTyChars> ////////////////////////
|
||||||
static TStringList& SplitToListWrap(
|
static TStringList& SplitToListWrap(
|
||||||
TStringList& ARR_SaveList ,
|
TStringList& ARR_SaveList ,
|
||||||
const TTyChars& AR_CCharsOrigin ,
|
const TTyChars& AR_CCharsOrigin ,
|
||||||
@ -2871,7 +2871,7 @@ namespace ZNsMain
|
|||||||
const TTyChars& AR_CCharsWrapClose,
|
const TTyChars& AR_CCharsWrapClose,
|
||||||
bool AB_DoEndWhenNoMatch=true ,
|
bool AB_DoEndWhenNoMatch=true ,
|
||||||
bool AB_DoAppendEachLink=false
|
bool AB_DoAppendEachLink=false
|
||||||
////////////// ) ///////////////////////////////////////////////*/
|
////////////// ) ///////////////////////////////////////////////////////*/
|
||||||
|
|
||||||
|
|
||||||
template<typename TStringList, typename TStringArray> ////////////
|
template<typename TStringList, typename TStringArray> ////////////
|
||||||
@ -3530,7 +3530,7 @@ namespace ZNsMain
|
|||||||
);
|
);
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
|
|
||||||
if(VL_NowSize<1) return 0; VL_SumSize += VL_NowSize;
|
if(VL_NowSize<1){return 0;} VL_SumSize += VL_NowSize;
|
||||||
|
|
||||||
ARA_SearchArray.MoveNextIter(RR(CI_IterEasyID));
|
ARA_SearchArray.MoveNextIter(RR(CI_IterEasyID));
|
||||||
}/*
|
}/*
|
||||||
@ -3698,7 +3698,7 @@ namespace ZNsMain
|
|||||||
);
|
);
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
|
|
||||||
if(VL_NowSize<1) return 0; VL_SumSize+=VL_NowSize;
|
if(VL_NowSize<1){return 0;} VL_SumSize+=VL_NowSize;
|
||||||
|
|
||||||
ARA_SearchArray.MoveNextIter(RR(CI_IterEasyID));
|
ARA_SearchArray.MoveNextIter(RR(CI_IterEasyID));
|
||||||
}/*
|
}/*
|
||||||
@ -3812,7 +3812,7 @@ namespace ZNsMain
|
|||||||
);
|
);
|
||||||
//////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
if(VL_NowSize<1) return 0; ARA_SearchArray.MoveNextIter(RR(CI_IterEasyID));
|
if(VL_NowSize<1){return 0;} ARA_SearchArray.MoveNextIter(RR(CI_IterEasyID));
|
||||||
}/*
|
}/*
|
||||||
for(TypeLength i=0; i<VL_ArrSize; ++i)*/
|
for(TypeLength i=0; i<VL_ArrSize; ++i)*/
|
||||||
|
|
||||||
@ -3945,7 +3945,7 @@ namespace ZNsMain
|
|||||||
}/*
|
}/*
|
||||||
for(; i<VL_ArrSize; ++i)*/
|
for(; i<VL_ArrSize; ++i)*/
|
||||||
|
|
||||||
if(i>=VL_ArrSize) return 0; return VL_Result;
|
if(i>=VL_ArrSize){return 0;} return VL_Result;
|
||||||
}/*
|
}/*
|
||||||
template<typename TStringArray> static TypeLength GetLength_PermitRange
|
template<typename TStringArray> static TypeLength GetLength_PermitRange
|
||||||
(
|
(
|
||||||
@ -4115,7 +4115,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_Length , const
|
TypeLength AL_Length , const
|
||||||
TStringArray& ARA_SearchArray
|
TStringArray& ARA_SearchArray
|
||||||
)
|
)
|
||||||
/*########################################################################*/
|
##########################################################################*/
|
||||||
|
|
||||||
template<typename TTyChars, typename TStringArray>
|
template<typename TTyChars, typename TStringArray>
|
||||||
static TypeLength GetLength_PermitCharRange2(
|
static TypeLength GetLength_PermitCharRange2(
|
||||||
@ -4233,7 +4233,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_Length , const
|
TypeLength AL_Length , const
|
||||||
TStringArray& ARA_SearchArray
|
TStringArray& ARA_SearchArray
|
||||||
)
|
)
|
||||||
/*################################################################*/
|
##################################################################*/
|
||||||
|
|
||||||
template<typename TTyChars, typename TStringArray>
|
template<typename TTyChars, typename TStringArray>
|
||||||
static TypeLength GetLength_NoPermit(const TTyChars& AR_CCharsOrigin, const TStringArray& ARA_SearchArray)
|
static TypeLength GetLength_NoPermit(const TTyChars& AR_CCharsOrigin, const TStringArray& ARA_SearchArray)
|
||||||
@ -4408,7 +4408,7 @@ namespace ZNsMain
|
|||||||
);
|
);
|
||||||
///////////////////////////////////////////////////
|
///////////////////////////////////////////////////
|
||||||
|
|
||||||
if(VL_SearchNow<0) return 0; ARA_SearchArray.MoveNextIter( RR(CI_IterEasyID) );
|
if(VL_SearchNow<0){return 0;} ARA_SearchArray.MoveNextIter( RR(CI_IterEasyID) );
|
||||||
}/*
|
}/*
|
||||||
for(TypeLength i=0; i<VL_ArrSize; ++i)*/
|
for(TypeLength i=0; i<VL_ArrSize; ++i)*/
|
||||||
|
|
||||||
@ -4542,7 +4542,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_Length , const
|
TypeLength AL_Length , const
|
||||||
TStringArray& ARA_SearchArray
|
TStringArray& ARA_SearchArray
|
||||||
)
|
)
|
||||||
/*##########################################################################*/
|
############################################################################*/
|
||||||
|
|
||||||
template<typename TTyChars, typename TStringArray>
|
template<typename TTyChars, typename TStringArray>
|
||||||
static TypeLength GetLength_NoPermitCharRange2(
|
static TypeLength GetLength_NoPermitCharRange2(
|
||||||
|
@ -1790,7 +1790,7 @@ namespace ZNsMain
|
|||||||
TypeSize AL_FirstFindIndex =1 ,
|
TypeSize AL_FirstFindIndex =1 ,
|
||||||
bool AB_DoFindFromFront=true
|
bool AB_DoFindFromFront=true
|
||||||
) const
|
) const
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
/*////////////////////////////////////////////////////////////////////////////////////////
|
/*////////////////////////////////////////////////////////////////////////////////////////
|
||||||
@ -2202,7 +2202,7 @@ namespace ZNsMain
|
|||||||
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
||||||
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
||||||
)
|
)
|
||||||
/*#####################################################################*/
|
#######################################################################*/
|
||||||
|
|
||||||
|
|
||||||
TypeThis& SendRangeOutAfter /////////////////////////////////////////////
|
TypeThis& SendRangeOutAfter /////////////////////////////////////////////
|
||||||
@ -2240,7 +2240,7 @@ namespace ZNsMain
|
|||||||
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
||||||
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
||||||
)
|
)
|
||||||
/*#####################################################################*/
|
#######################################################################*/
|
||||||
|
|
||||||
|
|
||||||
ZtCObjList& CopyThis(ZtCObjList& ARR_Rhs) const
|
ZtCObjList& CopyThis(ZtCObjList& ARR_Rhs) const
|
||||||
@ -2482,7 +2482,7 @@ namespace ZNsMain
|
|||||||
< typename TFunctor , typename TTypeHelp1 , typename TTypeHelp2 >
|
< typename TFunctor , typename TTypeHelp1 , typename TTypeHelp2 >
|
||||||
void IterElemRef
|
void IterElemRef
|
||||||
( TFunctor AO_Functor, TTypeHelp1& AR_TypeHelp1, TTypeHelp2& AR_TypeHelp2 )
|
( TFunctor AO_Functor, TTypeHelp1& AR_TypeHelp1, TTypeHelp2& AR_TypeHelp2 )
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
template<typename TFunctor> void IterElemRev(TFunctor AO_Functor)
|
template<typename TFunctor> void IterElemRev(TFunctor AO_Functor)
|
||||||
@ -2680,7 +2680,7 @@ namespace ZNsMain
|
|||||||
TypeSize AL_WorkDistance,
|
TypeSize AL_WorkDistance,
|
||||||
TFunctor AO_Functor
|
TFunctor AO_Functor
|
||||||
)
|
)
|
||||||
/*#################################################################*/
|
###################################################################*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2046,7 +2046,7 @@ namespace ZNsMain
|
|||||||
TTypSize AL_WorkDistance,
|
TTypSize AL_WorkDistance,
|
||||||
TFunctor AO_Functor
|
TFunctor AO_Functor
|
||||||
)
|
)
|
||||||
/*#################################################################*/
|
###################################################################*/
|
||||||
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -160,7 +160,7 @@ namespace ZNsMain
|
|||||||
typedef TypeSize size_type ; // for stl string/wstring
|
typedef TypeSize size_type ; // for stl string/wstring
|
||||||
public:
|
public:
|
||||||
};/*
|
};/*
|
||||||
class ZtCCharType /*#####################################################*/
|
class ZtCCharType #######################################################*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -747,7 +747,8 @@ namespace ZNsMain
|
|||||||
}
|
}
|
||||||
/////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////
|
||||||
|
|
||||||
/*public : /*++++++++++++++++++++++++++++++++++++++++++++++*/
|
public :
|
||||||
|
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||||
protected:
|
protected:
|
||||||
TypeLength ml_AllLen;
|
TypeLength ml_AllLen;
|
||||||
TypeLength ml_UseLen;
|
TypeLength ml_UseLen;
|
||||||
@ -1063,7 +1064,7 @@ namespace ZNsMain
|
|||||||
TypeChar* APC_Buff, TypeLength AL_BuffSize, bool AB_DoEndNull=true
|
TypeChar* APC_Buff, TypeLength AL_BuffSize, bool AB_DoEndNull=true
|
||||||
)
|
)
|
||||||
const
|
const
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
ZCStringBase& Invalid(TypeLength AL_Index=0)
|
ZCStringBase& Invalid(TypeLength AL_Index=0)
|
||||||
@ -1171,11 +1172,11 @@ namespace ZNsMain
|
|||||||
const ZCCharView& AR_View, TypeLength AL_StartPos)*/
|
const ZCCharView& AR_View, TypeLength AL_StartPos)*/
|
||||||
|
|
||||||
|
|
||||||
ZCStringBase& InvalidSearchFromEnd
|
ZCStringBase& InvalidSearchFromEnd /*///////////////*/
|
||||||
(
|
(
|
||||||
TypeCharC* APC_Search, TypeLength AL_SearchLen
|
TypeCharC* APC_Search, TypeLength AL_SearchLen
|
||||||
)
|
)
|
||||||
/*#################################*/
|
/*##################################################*/
|
||||||
{
|
{
|
||||||
// APC_Search 를 뒤로부터 찾아서 그 부분을 무효화시킨다.
|
// APC_Search 를 뒤로부터 찾아서 그 부분을 무효화시킨다.
|
||||||
|
|
||||||
@ -1186,12 +1187,8 @@ namespace ZNsMain
|
|||||||
APC_Search, AL_SearchLen, ml_UseLen-1
|
APC_Search, AL_SearchLen, ml_UseLen-1
|
||||||
);
|
);
|
||||||
/*<<<<<<<<<<<<<<<<<<<<<<<<<<*/
|
/*<<<<<<<<<<<<<<<<<<<<<<<<<<*/
|
||||||
}/*
|
}
|
||||||
ZCStringBase& InvalidSearchFromEnd
|
/*##################################################*/
|
||||||
(
|
|
||||||
TypeCharC* APC_Search, TypeLength AL_SearchLen
|
|
||||||
)
|
|
||||||
/*###############################*/
|
|
||||||
|
|
||||||
ZCStringBase& InvalidSearchFromEnd(const ZCCharView& AR_View)
|
ZCStringBase& InvalidSearchFromEnd(const ZCCharView& AR_View)
|
||||||
{
|
{
|
||||||
@ -1819,7 +1816,7 @@ namespace ZNsMain
|
|||||||
(
|
(
|
||||||
TypeLength AL_Index, TypeCharC* APC_Search, TypeLength AL_SearchLen
|
TypeLength AL_Index, TypeCharC* APC_Search, TypeLength AL_SearchLen
|
||||||
)
|
)
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
TypeLength ReadLong(TypeLength AL_Index, const ZCCharView& AR_View)
|
TypeLength ReadLong(TypeLength AL_Index, const ZCCharView& AR_View)
|
||||||
@ -1859,7 +1856,7 @@ namespace ZNsMain
|
|||||||
);
|
);
|
||||||
/*///////////////////////////////////////////////*/
|
/*///////////////////////////////////////////////*/
|
||||||
|
|
||||||
if(CB_IsTrue) return ARR_Rhs; return
|
if(CB_IsTrue){return ARR_Rhs;} return
|
||||||
|
|
||||||
ARR_Rhs( mpc_Data+AL_Index1, AL_Index2-AL_Index1+1 );
|
ARR_Rhs( mpc_Data+AL_Index1, AL_Index2-AL_Index1+1 );
|
||||||
}/*
|
}/*
|
||||||
@ -1869,7 +1866,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_Index1 ,
|
TypeLength AL_Index1 ,
|
||||||
TypeLength AL_Index2
|
TypeLength AL_Index2
|
||||||
)
|
)
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
ZCStringBase& ReadCStr //////////////////////////
|
ZCStringBase& ReadCStr //////////////////////////
|
||||||
@ -1991,7 +1988,7 @@ namespace ZNsMain
|
|||||||
(
|
(
|
||||||
TypeChar AC_SearchChar, TypeChar AC_ReplaceChar, TypeLength AI_StartPos=0
|
TypeChar AC_SearchChar, TypeChar AC_ReplaceChar, TypeLength AI_StartPos=0
|
||||||
)
|
)
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
ZCStringBase& ReplaceOnce /*///////////////////////////////////////////////////*/
|
ZCStringBase& ReplaceOnce /*///////////////////////////////////////////////////*/
|
||||||
@ -2020,7 +2017,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_SearchLen, TypeLength AL_ReplaceLen,
|
TypeLength AL_SearchLen, TypeLength AL_ReplaceLen,
|
||||||
TypeLength AL_StartPos=0
|
TypeLength AL_StartPos=0
|
||||||
)
|
)
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
ZCStringBase& ReplaceOnce /*///////////////////////////////////////////////////*/
|
ZCStringBase& ReplaceOnce /*///////////////////////////////////////////////////*/
|
||||||
(
|
(
|
||||||
@ -2227,7 +2224,7 @@ namespace ZNsMain
|
|||||||
for(int j=AL_SectPos-1; j>=0; --j)
|
for(int j=AL_SectPos-1; j>=0; --j)
|
||||||
{
|
{
|
||||||
*VPC_Dest-- = APC_Origin[j] ;
|
*VPC_Dest-- = APC_Origin[j] ;
|
||||||
}/*
|
}
|
||||||
/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
||||||
|
|
||||||
ARR_Rhs.data()[VL_AllMemSize]=0;
|
ARR_Rhs.data()[VL_AllMemSize]=0;
|
||||||
@ -2401,7 +2398,7 @@ namespace ZNsMain
|
|||||||
AR_Origin.size(), AR_Replace.size()
|
AR_Origin.size(), AR_Replace.size()
|
||||||
);
|
);
|
||||||
//////////////////////////
|
//////////////////////////
|
||||||
}/*
|
}
|
||||||
/*############################################################################*/
|
/*############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
@ -2953,7 +2950,7 @@ namespace ZNsMain
|
|||||||
(
|
(
|
||||||
TypeLength AL_Index, TypeLength AL_Count, ZCStringBase& ARR_Rhs
|
TypeLength AL_Index, TypeLength AL_Count, ZCStringBase& ARR_Rhs
|
||||||
)
|
)
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
static ZCStringBase& GetSubSearch /*##########################################*/
|
static ZCStringBase& GetSubSearch /*##########################################*/
|
||||||
@ -3621,7 +3618,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_OriginLen ,
|
TypeLength AL_OriginLen ,
|
||||||
TypeLength AL_SearchLen
|
TypeLength AL_SearchLen
|
||||||
)
|
)
|
||||||
/*###############################################################*/
|
#################################################################*/
|
||||||
|
|
||||||
|
|
||||||
template<typename TFunctor> void Split( //////////////////////////
|
template<typename TFunctor> void Split( //////////////////////////
|
||||||
@ -3799,7 +3796,7 @@ namespace ZNsMain
|
|||||||
/* bool AB_DoExecNull 이 true 이면 구분 문자로 잘린 문자열 길이
|
/* bool AB_DoExecNull 이 true 이면 구분 문자로 잘린 문자열 길이
|
||||||
가 0 인 경우에도 AO_TFunctor 를 수행한다. */
|
가 0 인 경우에도 AO_TFunctor 를 수행한다. */
|
||||||
|
|
||||||
if(AL_OriginLen<1) return; int VL_SearchCount=0;
|
if(AL_OriginLen<1){return;} int VL_SearchCount=0;
|
||||||
|
|
||||||
if(AL_SearchLen<1)
|
if(AL_SearchLen<1)
|
||||||
{
|
{
|
||||||
@ -3883,7 +3880,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_SearchLen ,
|
TypeLength AL_SearchLen ,
|
||||||
bool AB_DoExecNull =true
|
bool AB_DoExecNull =true
|
||||||
)
|
)
|
||||||
/*##############################################################*/
|
################################################################*/
|
||||||
|
|
||||||
|
|
||||||
template<typename TFunctor> void SplitEach /*/////////////////////////////////*/
|
template<typename TFunctor> void SplitEach /*/////////////////////////////////*/
|
||||||
@ -4049,7 +4046,7 @@ namespace ZNsMain
|
|||||||
bool AB_DoAppendEachLink=false,
|
bool AB_DoAppendEachLink=false,
|
||||||
bool AB_DoAppendEmpty =false
|
bool AB_DoAppendEmpty =false
|
||||||
)
|
)
|
||||||
/*#############################################################*/
|
###############################################################*/
|
||||||
|
|
||||||
|
|
||||||
template<typename TStringList>
|
template<typename TStringList>
|
||||||
@ -4578,7 +4575,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
for(k=0; k<AL_SearchMinLen; ++k)
|
for(k=0; k<AL_SearchMinLen; ++k)
|
||||||
{
|
{
|
||||||
if(*VPC_CloseChar++ != *VPC_SearchChar++) break; ++VL_ClosePos;
|
if(*VPC_CloseChar++ != *VPC_SearchChar++){break;} ++VL_ClosePos;
|
||||||
}/*
|
}/*
|
||||||
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
||||||
|
|
||||||
@ -4739,7 +4736,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
for(k=0; k<AL_SearchMinLen; ++k)
|
for(k=0; k<AL_SearchMinLen; ++k)
|
||||||
{
|
{
|
||||||
if(*VPC_CloseChar++ != *VPC_SearchChar++) break; ++VL_ClosePos;
|
if(*VPC_CloseChar++ != *VPC_SearchChar++){break;} ++VL_ClosePos;
|
||||||
}/*
|
}/*
|
||||||
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
||||||
|
|
||||||
@ -4749,7 +4746,7 @@ namespace ZNsMain
|
|||||||
{
|
{
|
||||||
for(k=AL_SearchMinLen; k<VL_SearchLen; ++k)
|
for(k=AL_SearchMinLen; k<VL_SearchLen; ++k)
|
||||||
{
|
{
|
||||||
if(*VPC_CloseChar++ != *VPC_SearchChar++) break; ++VL_ClosePos;
|
if(*VPC_CloseChar++ != *VPC_SearchChar++){break;} ++VL_ClosePos;
|
||||||
}/*
|
}/*
|
||||||
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
||||||
}/*
|
}/*
|
||||||
@ -4816,7 +4813,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_OriginLen ,
|
TypeLength AL_OriginLen ,
|
||||||
TypeLength AL_SearchMinLen=1
|
TypeLength AL_SearchMinLen=1
|
||||||
)
|
)
|
||||||
/*##############################################################*/
|
################################################################*/
|
||||||
|
|
||||||
|
|
||||||
template<typename TSaveList, typename TFindList>
|
template<typename TSaveList, typename TFindList>
|
||||||
@ -4928,7 +4925,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_Search2Len ,
|
TypeLength AL_Search2Len ,
|
||||||
bool AB_DoIncludeSearch=false
|
bool AB_DoIncludeSearch=false
|
||||||
)
|
)
|
||||||
/*##############################################################*/
|
################################################################*/
|
||||||
|
|
||||||
|
|
||||||
ZCStringList& ExtractBetweenToList /*##########################*/
|
ZCStringList& ExtractBetweenToList /*##########################*/
|
||||||
@ -4962,7 +4959,7 @@ namespace ZNsMain
|
|||||||
TypeLength AL_Search2Len ,
|
TypeLength AL_Search2Len ,
|
||||||
bool AB_DoIncludeSearch=false
|
bool AB_DoIncludeSearch=false
|
||||||
)
|
)
|
||||||
/*##############################################################*/
|
################################################################*/
|
||||||
|
|
||||||
|
|
||||||
ZCStringList& ExtractBetweenToList /*###########################*/
|
ZCStringList& ExtractBetweenToList /*###########################*/
|
||||||
@ -5869,7 +5866,7 @@ namespace ZNsMain
|
|||||||
for(; j<AL_SearchLen; ++j)
|
for(; j<AL_SearchLen; ++j)
|
||||||
{ if(APC_Origin[i+j]!=APC_Search[j]) break; }
|
{ if(APC_Origin[i+j]!=APC_Search[j]) break; }
|
||||||
|
|
||||||
if(j==AL_SearchLen) return i; --i;
|
if(j==AL_SearchLen){return i;} --i;
|
||||||
}/*
|
}/*
|
||||||
while(i>=0)*/
|
while(i>=0)*/
|
||||||
|
|
||||||
@ -5938,7 +5935,7 @@ namespace ZNsMain
|
|||||||
const bool CB_IsBad = (
|
const bool CB_IsBad = (
|
||||||
AL_OriginLen<1 || AL_StartPos>=AL_OriginLen || AR_SearchList.size()<1 );
|
AL_OriginLen<1 || AL_StartPos>=AL_OriginLen || AR_SearchList.size()<1 );
|
||||||
|
|
||||||
if(CB_IsBad) return -1; TypeLength VL_SearchCnt=AR_SearchList.size();
|
if(CB_IsBad){return -1;} TypeLength VL_SearchCnt=AR_SearchList.size();
|
||||||
|
|
||||||
for(TypeLength i=AL_StartPos; i<AL_OriginLen; ++i)
|
for(TypeLength i=AL_StartPos; i<AL_OriginLen; ++i)
|
||||||
{
|
{
|
||||||
@ -6855,7 +6852,7 @@ namespace ZNsMain
|
|||||||
ZCStringBase& ARR_CStrNoExt, ZCStringBase& ARR_CStrExt,
|
ZCStringBase& ARR_CStrNoExt, ZCStringBase& ARR_CStrExt,
|
||||||
TypeCharC* APC_FullPath , TypeLength AL_FullPathLen
|
TypeCharC* APC_FullPath , TypeLength AL_FullPathLen
|
||||||
)
|
)
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
static void SplitPath(
|
static void SplitPath(
|
||||||
ZCStringBase& ARR_CStrNoExt, ZCStringBase& ARR_CStrExt, TypeCharC* APC_FullPath)
|
ZCStringBase& ARR_CStrNoExt, ZCStringBase& ARR_CStrExt, TypeCharC* APC_FullPath)
|
||||||
@ -6936,7 +6933,7 @@ namespace ZNsMain
|
|||||||
(
|
(
|
||||||
HANDLE AH_File, ZTypLLong ALL_Offset, DWORD ADW_MoveMethod=FILE_BEGIN
|
HANDLE AH_File, ZTypLLong ALL_Offset, DWORD ADW_MoveMethod=FILE_BEGIN
|
||||||
)
|
)
|
||||||
/*#############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
|
||||||
static inline LARGE_INTEGER To_LARGE_INTEGER (__int64 ALL_Distance)
|
static inline LARGE_INTEGER To_LARGE_INTEGER (__int64 ALL_Distance)
|
||||||
@ -7090,7 +7087,7 @@ namespace ZNsMain
|
|||||||
TypeLength VL_TempPos = mr_CString.
|
TypeLength VL_TempPos = mr_CString.
|
||||||
FindPos(APC_FindChars, AL_FindLen, ml_NowPos);
|
FindPos(APC_FindChars, AL_FindLen, ml_NowPos);
|
||||||
|
|
||||||
if(VL_TempPos<0) return -1; return ml_NowPos=VL_TempPos;
|
if(VL_TempPos<0){return -1;} return ml_NowPos=VL_TempPos;
|
||||||
}/*
|
}/*
|
||||||
TypeLength Find(TypeCharC* APC_FindChars, TypeLength AL_FindLen)*/
|
TypeLength Find(TypeCharC* APC_FindChars, TypeLength AL_FindLen)*/
|
||||||
|
|
||||||
@ -7114,7 +7111,7 @@ namespace ZNsMain
|
|||||||
(APC_FindChars, AL_FindLen, ml_NowPos);
|
(APC_FindChars, AL_FindLen, ml_NowPos);
|
||||||
/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
||||||
|
|
||||||
if(VL_TempPos<0) return -1; return ml_NowPos=VL_TempPos;
|
if(VL_TempPos<0){return -1;} return ml_NowPos=VL_TempPos;
|
||||||
}/*
|
}/*
|
||||||
TypeLength Find(TypeCharC* APC_FindChars, TypeLength AL_FindLen)*/
|
TypeLength Find(TypeCharC* APC_FindChars, TypeLength AL_FindLen)*/
|
||||||
|
|
||||||
@ -7480,7 +7477,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////*/
|
/////////////////////////////////////////////////////////////////////////////////////*/
|
||||||
|
|
||||||
if(AR_CStringBase.size()>0) AR_COStream<<AR_CStringBase.data(); return AR_COStream;
|
if(AR_CStringBase.size()>0){AR_COStream<<AR_CStringBase.data();} return AR_COStream;
|
||||||
}/*
|
}/*
|
||||||
template
|
template
|
||||||
<typename TTypCh, typename TAlloc, typename TAllocSize, typename TTypeString>
|
<typename TTypCh, typename TAlloc, typename TAllocSize, typename TTypeString>
|
||||||
@ -7628,7 +7625,7 @@ namespace ZNsMain
|
|||||||
typename TTypCh , typename TAlloc,
|
typename TTypCh , typename TAlloc,
|
||||||
typename TAllocSize, typename TTypeString
|
typename TAllocSize, typename TTypeString
|
||||||
>
|
>
|
||||||
class ZtCMoveObj /*##################################################
|
class ZtCMoveObj ####################################################
|
||||||
<
|
<
|
||||||
ZtCStringBase<TTypCh, TAlloc, TAllocSize, TTypeString> ,
|
ZtCStringBase<TTypCh, TAlloc, TAllocSize, TTypeString> ,
|
||||||
ZtCStringBase<TTypCh, TAlloc, TAllocSize, TTypeString>&, true
|
ZtCStringBase<TTypCh, TAlloc, TAllocSize, TTypeString>&, true
|
||||||
|
@ -36,7 +36,7 @@ namespace ZNsMain
|
|||||||
typedef TypeSize size_type ; // for stl string/wstring
|
typedef TypeSize size_type ; // for stl string/wstring
|
||||||
public:
|
public:
|
||||||
};/*
|
};/*
|
||||||
class ZtCCharType /*#####################################################*/
|
class ZtCCharType #######################################################*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -362,7 +362,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
ZtCStringStd& operator()(ZtCStringStd& rhs)
|
ZtCStringStd& operator()(ZtCStringStd& rhs)
|
||||||
{
|
{
|
||||||
if(this==&rhs) return *this; this->append(rhs); return *this;
|
if(this==&rhs) {return *this;} this->append(rhs); return *this;
|
||||||
}/*
|
}/*
|
||||||
ZtCStringStd& operator()(ZtCStringStd& rhs)*/
|
ZtCStringStd& operator()(ZtCStringStd& rhs)*/
|
||||||
|
|
||||||
|
@ -264,7 +264,7 @@ namespace ZNsMain
|
|||||||
}/*
|
}/*
|
||||||
template<typename TViewClass> ZNsMain::ZNsEnum::ZERun IterPreOrder
|
template<typename TViewClass> ZNsMain::ZNsEnum::ZERun IterPreOrder
|
||||||
(TViewClass& AR_CViewClass, TypeSize AI_StartDepth=0, TypeSize AI_NodeIndex=0)
|
(TViewClass& AR_CViewClass, TypeSize AI_StartDepth=0, TypeSize AI_NodeIndex=0)
|
||||||
/*##############################################################*/
|
################################################################*/
|
||||||
|
|
||||||
template<typename TViewClass> ZNsMain::ZNsEnum::ZERun IterPostOrder
|
template<typename TViewClass> ZNsMain::ZNsEnum::ZERun IterPostOrder
|
||||||
( TViewClass& AR_CViewClass, TypeSize AI_StartDepth=0, TypeSize AI_NodeIndex=0 )
|
( TViewClass& AR_CViewClass, TypeSize AI_StartDepth=0, TypeSize AI_NodeIndex=0 )
|
||||||
@ -318,7 +318,7 @@ namespace ZNsMain
|
|||||||
}/*
|
}/*
|
||||||
template<typename TViewClass> ZNsMain::ZNsEnum::ZERun IterPostOrder
|
template<typename TViewClass> ZNsMain::ZNsEnum::ZERun IterPostOrder
|
||||||
(TViewClass& AR_CViewClass, TypeSize AI_StartDepth=0, TypeSize AI_NodeIndex=0)
|
(TViewClass& AR_CViewClass, TypeSize AI_StartDepth=0, TypeSize AI_NodeIndex=0)
|
||||||
/*###############################################################*/
|
#################################################################*/
|
||||||
|
|
||||||
public:
|
public:
|
||||||
};/*
|
};/*
|
||||||
|
@ -89,8 +89,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
|
|
||||||
■ Linux 컴파일
|
■ Linux 컴파일
|
||||||
|
|
||||||
g++ -std=c++98 -o ZMainCGI_000_EnvSet.exe ZMainCGI_000_EnvSet.cpp -I../
|
g++ -std=c++98 -o ZMainCGI_000_EnvSet.exe ZMainCGI_000_EnvSet.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
g++ -std=c++98 -o ZMainCGI_000_EnvSet_D.exe ZMainCGI_000_EnvSet.cpp -I../ -D_DEBUG
|
g++ -std=c++98 -o ZMainCGI_000_EnvSet_D.exe ZMainCGI_000_EnvSet.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
|
@ -218,8 +218,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
|
|
||||||
■ Linux 컴파일
|
■ Linux 컴파일
|
||||||
|
|
||||||
g++ -std=c++98 -o ZtCArray_000.exe ZtCArray_000.cpp -I../
|
g++ -std=c++98 -o ZtCArray_000.exe ZtCArray_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
g++ -std=c++98 -o ZtCArray_000_D.exe ZtCArray_000.cpp -I../ -D_DEBUG
|
g++ -std=c++98 -o ZtCArray_000_D.exe ZtCArray_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
|
@ -603,8 +603,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
|
|
||||||
■ Linux 컴파일
|
■ Linux 컴파일
|
||||||
|
|
||||||
g++ -std=c++98 -o ZtCBaseList_000.exe ZtCBaseList_000.cpp -I../
|
g++ -std=c++98 -o ZtCBaseList_000.exe ZtCBaseList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
g++ -std=c++98 -o ZtCBaseList_000_D.exe ZtCBaseList_000.cpp -I../ -D_DEBUG
|
g++ -std=c++98 -o ZtCBaseList_000_D.exe ZtCBaseList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
|
@ -212,8 +212,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
|
|
||||||
<EFBFBD><EFBFBD> Linux <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
<EFBFBD><EFBFBD> Linux <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
g++ -std=c++98 -o ZtCLinkList_000.exe ZtCLinkList_000.cpp -I../
|
g++ -std=c++98 -o ZtCLinkList_000.exe ZtCLinkList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
g++ -std=c++98 -o ZtCLinkList_000_D.exe ZtCLinkList_000.cpp -I../ -D_DEBUG
|
g++ -std=c++98 -o ZtCLinkList_000_D.exe ZtCLinkList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
|
@ -288,8 +288,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
|
|
||||||
<EFBFBD><EFBFBD> Linux <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
<EFBFBD><EFBFBD> Linux <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
g++ -std=c++98 -o ZtCLinkList_001.exe ZtCLinkList_001.cpp -I../
|
g++ -std=c++98 -o ZtCLinkList_001.exe ZtCLinkList_001.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
g++ -std=c++98 -o ZtCLinkList_001_D.exe ZtCLinkList_001.cpp -I../ -D_DEBUG
|
g++ -std=c++98 -o ZtCLinkList_001_D.exe ZtCLinkList_001.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
|
@ -224,8 +224,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
|
|
||||||
<EFBFBD><EFBFBD> Linux <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
<EFBFBD><EFBFBD> Linux <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
|
||||||
g++ -std=c++98 -o ZtCLinkMoveList_000.exe ZtCLinkMoveList_000.cpp -I../
|
g++ -std=c++98 -o ZtCLinkMoveList_000.exe ZtCLinkMoveList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
g++ -std=c++98 -o ZtCLinkMoveList_000_D.exe ZtCLinkMoveList_000.cpp -I../ -D_DEBUG
|
g++ -std=c++98 -o ZtCLinkMoveList_000_D.exe ZtCLinkMoveList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
|
@ -412,8 +412,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
|
|
||||||
■ Linux 컴파일
|
■ Linux 컴파일
|
||||||
|
|
||||||
g++ -std=c++98 -o ZtCObjList_000.exe ZtCObjList_000.cpp -I../
|
g++ -std=c++98 -o ZtCObjList_000.exe ZtCObjList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
g++ -std=c++98 -o ZtCObjList_000_D.exe ZtCObjList_000.cpp -I../ -D_DEBUG
|
g++ -std=c++98 -o ZtCObjList_000_D.exe ZtCObjList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
|
@ -293,8 +293,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
|
|
||||||
■ Linux 컴파일
|
■ Linux 컴파일
|
||||||
|
|
||||||
g++ -std=c++98 -o ZtCSimList_000.exe ZtCSimList_000.cpp -I../
|
g++ -std=c++98 -o ZtCSimList_000.exe ZtCSimList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
g++ -std=c++98 -o ZtCSimList_000_D.exe ZtCSimList_000.cpp -I../ -D_DEBUG
|
g++ -std=c++98 -o ZtCSimList_000_D.exe ZtCSimList_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
|
@ -264,6 +264,9 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
g++ -std=c++98 -o ZtCStringBase_000.exe ZtCStringBase_000.cpp -I../
|
g++ -std=c++98 -o ZtCStringBase_000.exe ZtCStringBase_000.cpp -I../
|
||||||
g++ -std=c++98 -o ZtCStringBase_000_D.exe ZtCStringBase_000.cpp -I../ -D_DEBUG
|
g++ -std=c++98 -o ZtCStringBase_000_D.exe ZtCStringBase_000.cpp -I../ -D_DEBUG
|
||||||
|
|
||||||
|
g++ -std=c++98 -o ZtCStringBase_000.exe ZtCStringBase_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
|
g++ -std=c++98 -o ZtCStringBase_000_D.exe ZtCStringBase_000.cpp -I../ -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||||
|
@ -172,6 +172,9 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
g++.exe -std=c++98 -o ZtCThreadEx_002_MutexCond_mw.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lWs2_32
|
g++.exe -std=c++98 -o ZtCThreadEx_002_MutexCond_mw.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lWs2_32
|
||||||
g++.exe -std=c++98 -o ZtCThreadEx_002_MutexCond_mw_D.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lWs2_32 -D_DEBUG
|
g++.exe -std=c++98 -o ZtCThreadEx_002_MutexCond_mw_D.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lWs2_32 -D_DEBUG
|
||||||
|
|
||||||
|
g++.exe -std=c++98 -o ZtCThreadEx_002_MutexCond_mw.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lWs2_32
|
||||||
|
g++.exe -std=c++98 -o ZtCThreadEx_002_MutexCond_mw_D.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lWs2_32 -D_DEBUG
|
||||||
|
|
||||||
./ZtCThreadEx_002_MutexCond_mw.exe
|
./ZtCThreadEx_002_MutexCond_mw.exe
|
||||||
./ZtCThreadEx_002_MutexCond_mw_D.exe
|
./ZtCThreadEx_002_MutexCond_mw_D.exe
|
||||||
|
|
||||||
@ -190,8 +193,8 @@ int main(int AI_ArgCnt, char* APP_ArgVal[])*/
|
|||||||
|
|
||||||
■ Linux 컴파일
|
■ Linux 컴파일
|
||||||
|
|
||||||
g++ -std=c++98 -o ZtCThreadEx_002_MutexCond.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lpthread
|
g++ -std=c++98 -o ZtCThreadEx_002_MutexCond.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lpthread -Wall -Wno-unused-function -Wno-misleading-indentation
|
||||||
g++ -std=c++98 -o ZtCThreadEx_002_MutexCond_D.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lpthread -D_DEBUG
|
g++ -std=c++98 -o ZtCThreadEx_002_MutexCond_D.exe ZtCThreadEx_002_MutexCond.cpp -I../ -lpthread -Wall -Wno-unused-function -Wno-misleading-indentation -D_DEBUG
|
||||||
|
|
||||||
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version
|
||||||
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
|
||||||
|
Reference in New Issue
Block a user