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