11 2015 档案

摘要:#include#include using namespace std;typedef char (*PTRFUN)(int);PTRFUN pFun;char glFun(int a){ cout<<11111<<endl;}int main(){ pFun = glFun; (*p... 阅读全文
posted @ 2015-11-06 08:40 mximo 阅读(143) 评论(0) 推荐(0)
摘要:#include using namespace std;templateclass CTopK{public: CTopK(); ~CTopK(); T* m_Data; int GetTopK(const char* sFile, int& nTop);private:... 阅读全文
posted @ 2015-11-04 17:04 mximo 阅读(176) 评论(0) 推荐(0)
摘要:#include using namespace std;void CreatHeap(int a[],int n,int h){ int i,j,flag; int temp; i = h; j = 2*i + 1; temp = a[i]; flag = 0;... 阅读全文
posted @ 2015-11-04 11:19 mximo 阅读(254) 评论(0) 推荐(0)