From 3f8ecaef67e72556f8f9d411fd8c4145aad66628 Mon Sep 17 00:00:00 2001 From: sauron Date: Fri, 26 Feb 2021 17:33:59 +0900 Subject: [PATCH] edit test a bit --- ZCppMain/test.cpp | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/ZCppMain/test.cpp b/ZCppMain/test.cpp index e9e1496..225cf66 100644 --- a/ZCppMain/test.cpp +++ b/ZCppMain/test.cpp @@ -4,15 +4,45 @@ #include "ZtCObjList.H" -using namespace std; +using namespace std ; +using namespace ZNsMain ; + + +void ShowData(ZTypInt AiInt) +{ + cout<<"# Element : "< CListByInt; - cout<<"C++ 's great start"< CListByInt; + + CListByInt VO_IntList; + + VO_IntList.AddData(1); + VO_IntList.AddData(4); + VO_IntList.AddData(2); + VO_IntList.AddData(8); + VO_IntList.AddData(9); + + VO_IntList.IterElement(ShowData); + return 0; }/* int main(int ArgiCnt, char** AppArgu)*/ + + +/*///////////////////////////////////// + + +■ 컴파일 + + g++ -o test.exe test.cpp -I.. + + +/////////////////////////////////////*/ \ No newline at end of file