摘要:
问题描述:在win32应用程序项目Project1中的Algorithm.h头文件中,定义了一个类Algorithm,并声明了如下:virtual void initialize();virtual void nextStep() = 0;virtual void shutdown();在Algorithm.cpp文件中实现了这第一个和第三个函数在win32 DLL项目Project2的HanoTower.h头文件中定义了类HanoTowerAlgorithm,继承自Algorithm类,HanoTower.cpp实现它重载了三个基类函数。现在我编译Project2时,提示说“无法解析的外部符 阅读全文
posted @ 2011-11-02 20:30
剑起飞虹
阅读(1917)
评论(8)
推荐(0)
摘要:
一、类OGRE实现在OGRE中是这样实现的,代码如下:template <typename T> class Singleton{private: Singleton(const Singleton<T> &); Singleton& operator=(const Singleton<T> &); protected: static T* ms_Singleton; public: Singleton( void ) { assert( !ms_Singleton );#if defined( _MSC_VER ) &&am 阅读全文
posted @ 2011-11-02 15:03
剑起飞虹
阅读(1087)
评论(1)
推荐(0)

浙公网安备 33010602011771号