From: rtrimana Date: Sat, 10 Dec 2016 00:04:36 +0000 (-0800) Subject: Adding example for a CPP that calls class skeleton X-Git-Url: http://plrg.eecs.uci.edu/git/?p=iot2.git;a=commitdiff_plain;h=b398fced7262712afbb56221552a4030999f142c;hp=2b21e53cb37d36f25039a4e5009ff90335cdc06c;ds=sidebyside Adding example for a CPP that calls class skeleton --- diff --git a/iotjava/iotrmi/C++/basics/TestClassInterface_Skeleton.cpp b/iotjava/iotrmi/C++/basics/TestClassInterface_Skeleton.cpp index ef814d4..c393c19 100644 --- a/iotjava/iotrmi/C++/basics/TestClassInterface_Skeleton.cpp +++ b/iotjava/iotrmi/C++/basics/TestClassInterface_Skeleton.cpp @@ -18,10 +18,10 @@ int main(int argc, char *argv[]) cout << argv3 << endl; cout << argv4 << endl; - //TestClassInterface *tc = new TestClass(argv1, argv2, argv3); - //TestClassInterface_Skeleton *tcSkel = new TestClassInterface_Skeleton(tc, port); + TestClassInterface *tc = new TestClass(argv2, argv3, argv4); + TestClassInterface_Skeleton *tcSkel = new TestClassInterface_Skeleton(tc, port); - //delete tc; - //delete tcSkel; + delete tc; + delete tcSkel; return 0; }