EDA/PLD中的使用C++ 实现缓存容量增加
当你在某个缓存中存储数据时,常常需要在运行时调整该缓存的大小,以便能容纳更多的数据。 下面是一个增加初始缓存大小的例子: view plaincopy to clipboardprint? // console.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include using namespace std; int reallocate(int* &p,
下载地址
用户评论