From 59b9d4869dca9b9e1058c359d1e5cbc6f8aa5d19 Mon Sep 17 00:00:00 2001 From: sauron Date: Sun, 24 Aug 2025 01:48:09 +0900 Subject: [PATCH] commit 2025-08-24 01:48 edit a bit ZCppMainTest/ZtCArray_000.cpp --- ZCppMainTest/ZtCArray_000.cpp | 28 ++++++++++++++++++++++++++-- ZCppMainTest/ZtCLoadXml_000.cpp | 29 +++++++++++++++++++++++++++-- 2 files changed, 53 insertions(+), 4 deletions(-) diff --git a/ZCppMainTest/ZtCArray_000.cpp b/ZCppMainTest/ZtCArray_000.cpp index 4238727..586e247 100644 --- a/ZCppMainTest/ZtCArray_000.cpp +++ b/ZCppMainTest/ZtCArray_000.cpp @@ -198,8 +198,8 @@ int main(int AR_ArgCnt, char* APP_ArgVal[])*/ ■ Ubuntu 컴파일 - g++ -o ZtCArray_000.exe ZtCArray_000.cpp -I../ - g++ -o ZtCArray_000_D.exe ZtCArray_000.cpp -I../ -D_DEBUG + g++ -std=c++98 -o ZtCArray_000.exe ZtCArray_000.cpp -I../ + g++ -std=c++98 -o ZtCArray_000_D.exe ZtCArray_000.cpp -I../ -D_DEBUG sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 @@ -210,6 +210,30 @@ int main(int AR_ArgCnt, char* APP_ArgVal[])*/ sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ date Sun Aug 24 00:05:51 DST 2025 + sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ cat /etc/os-release + NAME="Ubuntu" + VERSION="20.04.6 LTS (Focal Fossa)" + ID=ubuntu + ID_LIKE=debian + PRETTY_NAME="Ubuntu 20.04.6 LTS" + VERSION_ID="20.04" + HOME_URL="https://www.ubuntu.com/" + SUPPORT_URL="https://help.ubuntu.com/" + BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" + PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" + VERSION_CODENAME=focal + UBUNTU_CODENAME=focal + + + [sauron@q381-2657 ZCppMainTest]$ cat /etc/centos-release + CentOS Linux release 7.9.2009 (Core) + + [sauron@q381-2657 ZCppMainTest]$ g++ --version + g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) + Copyright (C) 2015 Free Software Foundation, Inc. + This is free software; see the source for copying conditions. There is NO + warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + ■ 실행 ./ZtCArray_000.exe diff --git a/ZCppMainTest/ZtCLoadXml_000.cpp b/ZCppMainTest/ZtCLoadXml_000.cpp index bb0f200..3426f97 100644 --- a/ZCppMainTest/ZtCLoadXml_000.cpp +++ b/ZCppMainTest/ZtCLoadXml_000.cpp @@ -176,8 +176,9 @@ int main(int AR_ArgCnt, char* APP_ArgVal[])*/ ■ Ubuntu 컴파일 - g++ -o ZtCLoadXml_000.exe ZtCLoadXml_000.cpp -I../ - g++ -o ZtCLoadXml_000_D.exe ZtCLoadXml_000.cpp -I../ -D_DEBUG + g++ -std=c++98 -o ZtCLoadXml_000.exe ZtCLoadXml_000.cpp -I../ + g++ -std=c++98 -o ZtCLoadXml_000_D.exe ZtCLoadXml_000.cpp -I../ -D_DEBUG + sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ gcc --version gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 @@ -188,6 +189,30 @@ int main(int AR_ArgCnt, char* APP_ArgVal[])*/ sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ date Sun Aug 24 00:05:51 DST 2025 + sauron@q381-2673:/mnt/e/my_CPP/ZCpp/ZCppMainTest$ cat /etc/os-release + NAME="Ubuntu" + VERSION="20.04.6 LTS (Focal Fossa)" + ID=ubuntu + ID_LIKE=debian + PRETTY_NAME="Ubuntu 20.04.6 LTS" + VERSION_ID="20.04" + HOME_URL="https://www.ubuntu.com/" + SUPPORT_URL="https://help.ubuntu.com/" + BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" + PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" + VERSION_CODENAME=focal + UBUNTU_CODENAME=focal + + + [sauron@q381-2657 ZCppMainTest]$ cat /etc/centos-release + CentOS Linux release 7.9.2009 (Core) + + [sauron@q381-2657 ZCppMainTest]$ g++ --version + g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) + Copyright (C) 2015 Free Software Foundation, Inc. + This is free software; see the source for copying conditions. There is NO + warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + ■ 실행 ./ZtCLoadXml_000.exe