projects
/
iot2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b21e53
)
Adding example for a CPP that calls class skeleton
author
rtrimana
<rtrimana@uci.edu>
Sat, 10 Dec 2016 00:04:36 +0000
(16:04 -0800)
committer
rtrimana
<rtrimana@uci.edu>
Sat, 10 Dec 2016 00:04:36 +0000
(16:04 -0800)
iotjava/iotrmi/C++/basics/TestClassInterface_Skeleton.cpp
patch
|
blob
|
history
diff --git
a/iotjava/iotrmi/C++/basics/TestClassInterface_Skeleton.cpp
b/iotjava/iotrmi/C++/basics/TestClassInterface_Skeleton.cpp
index ef814d4db95b9052176cd5813071041a693f2e66..c393c195ee6fec2c66710df6ee3b0bb0f762732f 100644
(file)
--- 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;
}