[转载] Tcl/C++ question# Programming - 葵花宝典
a*e
1 楼
【 以下文字转载自 Linux 讨论区 】
【 原文由 agare 所发表 】
I have a program. Let Tcl do iteration.
In the iteration body, it calls C++ modules.
The question is:
in C++ modules, it creates objects, how can I keep these objects alive
after the call finished. So for the next iteration, these objects are still
available.
【 原文由 agare 所发表 】
I have a program. Let Tcl do iteration.
In the iteration body, it calls C++ modules.
The question is:
in C++ modules, it creates objects, how can I keep these objects alive
after the call finished. So for the next iteration, these objects are still
available.