- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 螺旋队列
// route.cpp : Defines the entry point for the console application.//#include "stdafx.h"#define min(x,y) ((x) < (y) ?: (x),(y))void fun(int n);#include using namespace std;int main(int argc,
2012-03-31 19:33:31 358
转载 C++虚指针实现及效率
单继承虚函数例子class Point {public:virtual ~Point();virtual Point& mult( float ) = 0;// ... other operations ...float x() const { return _x; }virtual float y() c
2012-03-29 16:00:33 1138
转载 memcpy和bcopy区别
函数原型:extern void bcopy(const void *src, void *dest, int n);void *memcpy(void *dest, const void *src, size_t n);注意它们的主要区别:dest,src使用是要特别注意bcopy:extern void bcopy(const void *src, void *
2012-03-22 21:00:56 3907
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人