下面代码中,怎么才能保证让lastExecute最后执行(在所有析构函数执行完后再执行lastExecute)。非常感谢。
xyzc.cn/health/jsmr/20130912/592033.html
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=170086
shaoxing.com.cn/news/content/2013-09/12/content_1960495.htm
xgrb.cn/jkzj/zixunsudi/20130911/15793.html
xyzc.cn/health/jsmr/20130912/592065.html
xyzc.cn/health/jsmr/20130912/592061.html
xyzc.cn/health/jsmr/20130912/592056.html
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=170088
shaoxing.com.cn/news/content/2013-09/12/content_1960466.htm
xyzc.cn/health/jsmr/20130912/592046.html
shaoxing.com.cn/news/content/2013-09/11/content_1954437.htm
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=168782
xyzc.cn/health/jsmr/20130910/574023.html
xgrb.cn/jkzj/zixunsudi/20130909/14406.html
xyzc.cn/health/jsmr/20130910/574012.html
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=168783
xyzc.cn/health/jsmr/20130910/574060.html
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=168784
xyzc.cn/health/jsmr/20130910/574050.html
shaoxing.com.cn/news/content/2013-09/10/content_1922233.htm
shaoxing.com.cn/news/content/2013-09/10/content_1922299.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class
CApp
{
public
:
~CApp()
{
printf
(
"Deconstruct CApp..\n"
);
}
};
CApp app1, app2;
void
lastExecute()
{
printf
(
"Last execute..\n"
);
}
int
main()
{
return
0;
}
|
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=170086
shaoxing.com.cn/news/content/2013-09/12/content_1960495.htm
xgrb.cn/jkzj/zixunsudi/20130911/15793.html
xyzc.cn/health/jsmr/20130912/592065.html
xyzc.cn/health/jsmr/20130912/592061.html
xyzc.cn/health/jsmr/20130912/592056.html
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=170088
shaoxing.com.cn/news/content/2013-09/12/content_1960466.htm
xyzc.cn/health/jsmr/20130912/592046.html
shaoxing.com.cn/news/content/2013-09/11/content_1954437.htm
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=168782
xyzc.cn/health/jsmr/20130910/574023.html
xgrb.cn/jkzj/zixunsudi/20130909/14406.html
xyzc.cn/health/jsmr/20130910/574012.html
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=168783
xyzc.cn/health/jsmr/20130910/574060.html
jzptt.ln.cn/jzptthtm/newspagesh.php?Newsid=168784
xyzc.cn/health/jsmr/20130910/574050.html
shaoxing.com.cn/news/content/2013-09/10/content_1922233.htm
shaoxing.com.cn/news/content/2013-09/10/content_1922299.htm