示例#1
0
文件: maze.cpp 项目: NEWPLAN/Sources
TCellPtr setup_stack(int nrow, int ncol)
{
	TCellPtr ps;
	ps = TMalloc( TCell, nrow*ncol );
	if(!ps){
		printf( "为堆栈申请内存失败\n" );
		exit(0);
	}
	return ps;
}
示例#2
0
void * __cdecl operator new[](unsigned int size)
{
    return TMalloc(size);
}