From 46de31135cfc7c5f6205bb0a21753a47928d95e8 Mon Sep 17 00:00:00 2001 From: sauron Date: Thu, 4 Mar 2021 16:21:22 +0900 Subject: [PATCH] edit test.cpp --- ZCppMain/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ZCppMain/test.cpp b/ZCppMain/test.cpp index 8cd8ab3..04553f4 100644 --- a/ZCppMain/test.cpp +++ b/ZCppMain/test.cpp @@ -71,7 +71,7 @@ int main(int ArgiCnt, char** AppArgu) _FFS_(ZCShowData3) (ZTypInt AiInt, ZCTuple* AP_CTuple) { - cout<<"# Elem2 : "<< AiInt << ", nth=" << AP_CTuple->_1 << endl; + cout<<"# Elem2 : "<< AiInt << ", nth=" << AP_CTuple->_1++ << endl; }/* (ZTypInt AiInt, ZCTuple* AP_CTuple)*/ _FFC_(ZCShowData3) @@ -81,7 +81,7 @@ int main(int ArgiCnt, char** AppArgu) /* ZCFunctor1 선언이 main() 바깥에 있어야 하는 문제를 해결할 수 없을까. */ VO_IntList.IterElement(ZCShowData1::Exec); - VO_IntList.IterElemRef(ZCShowData2::Exec, VO_CTuple ); + VO_IntList.IterElemRef(ZCShowData2::Exec, VO_CTuple ); VO_CTuple._1=0 ; VO_IntList.IterElement(ZCShowData3::Exec, &VO_CTuple); VO_IntList.IterElement(&VO_CFunctor1 );