摘要:
1)try、throw和catch关键字 在程序中的用法如下 #include <iostream> using namespace std; int main() { double m = 1, n = 0; try { cout << "before dividing." << endl; if 阅读全文
摘要:
C++中有几种类型的new? 在C++中,new有三种典型的使用方法:plain new,nothrow new和placement new plain new 普通的new,就是我们常用的new\ void* operator new(std::size_t) throw(std::bad_all 阅读全文