Chinaunix首页 | 论坛 | 博客
  • 博客访问: 14465
  • 博文数量: 11
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 105
  • 用 户 组: 普通用户
  • 注册时间: 2013-08-08 14:28
文章分类

全部博文(11)

文章存档

2013年(11)

我的朋友

发布时间:2013-08-22 21:21:22

Example:#include <stdafx.h>#include <iostream>using namespace std;class Base{public:    Base(){        cout<<"Base()"<<endl;    .........【阅读全文】

阅读(238) | 评论(0) | 转发(0)

发布时间:2013-08-22 20:59:15

Example 1:点击(此处)折叠或打开#include #include using namespace std;class Base{public:    void func(){       &nbs.........【阅读全文】

阅读(189) | 评论(0) | 转发(0)

发布时间:2013-08-21 15:27:11

statoc_cast:该操作符用于非多态类型的转换,任何标准转换都可以使用他,即static_cast可以把int转换为 double,但不能把两个不相关的类对象进行转换,比如类A不能转换为一个不相关的类B类型。static_cast本质上是传统c语言强制转换的替代 品。两种不合法:1.char* p=new char[5];unsigned long l=static_cast......【阅读全文】

阅读(519) | 评论(0) | 转发(0)

发布时间:2013-08-21 10:29:07

int arr[5]={1,2,3,4,5};arr:数组首地址      (地址步长:4字节)&arr:数组的地址    (地址步长:20字节)int* arr=new int[5];arr:数组首地址&arr:存放指针的的内存地址测试程序如下:int main(){FILE* fp=fopen("result.txt","w");int arr[5];fprintf(fp,"%x  %x\n",arr,arr+1);.........【阅读全文】

阅读(646) | 评论(0) | 转发(0)

发布时间:2013-08-13 20:37:31

ITM is a consolidated monitoring of physical and virtual resources; all data including realtime data and historical data is available from TEP(Tivoli Enterprise Portal); long term historical data is managed by TDW(Tivoli Data Warehouse);......【阅读全文】

阅读(196) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册