摘要:
ACID: A(Atomicity)原子性:事务中有多个操作,要么全部发生,要么全部不发生。 C(Consistency)一致性: Consistency ensures that a transaction can only bring the database from one valid st 阅读全文
摘要:
如题,为什么free和delete(当然底层还是调用free)能够释放数组空间。 写个测试代码: #include <iostream> #define N 16 using namespace std; int main() { int* p = (int*) (malloc(sizeof(int 阅读全文