摘要: 编译器拒绝内联虚方法,以为虚方法是运行时绑定。 阅读全文
posted @ 2011-08-16 16:02 小 楼 一 夜 听 春 雨 阅读(391) 评论(0) 推荐(0)
摘要: #include "stdafx.h"#include <windows.h>#include <MMSystem.h>#include <iostream>using namespace std;#pragma comment(lib, "winmm.lib")class Foo{public: 阅读全文
posted @ 2011-08-16 15:47 小 楼 一 夜 听 春 雨 阅读(1623) 评论(1) 推荐(0)
摘要: #include "stdafx.h"#include <windows.h>#include <MMSystem.h>#include <iostream>using namespace std;#pragma comment(lib, "winmm.lib")class Foo{public: 阅读全文
posted @ 2011-08-16 11:17 小 楼 一 夜 听 春 雨 阅读(886) 评论(0) 推荐(0)