C++ sample code, for the book: C++ black book, including templates, exceptional handling.

源代码在线查看: newarray.cpp

软件大小: 94 K
上传用户: hqq
关键词: book exceptional including templates
下载地址: 免注册下载 普通下载 VIP

相关代码

				#include 
				using namespace std;
				
				int main()
				{
				    double * values = new double[10];  
				       
				    if(values == NULL) exit(1);
				
				    values[5] = 3.14159;                 
				
				    cout 				
				    delete[] values;
				
				    return 0;
				}
				
							

相关资源