Chinaunix首页 | 论坛 | 博客
  • 博客访问: 268675
  • 博文数量: 138
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 971
  • 用 户 组: 普通用户
  • 注册时间: 2015-03-03 10:05
文章分类

全部博文(138)

文章存档

2016年(1)

2015年(137)

我的朋友

发布时间:2015-07-09 17:16:28

1.sharedPreferences介绍
    很多时候我们开发的软件需要......【阅读全文】

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

发布时间:2015-07-08 21:13:59

1 sprintf(char * str,char * format,argument);
sprintf 是个变参函数,定义如下:......【阅读全文】

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

发布时间:2015-07-08 12:31:01

char * ptr;
ptr=(char*)malloc(0);
if(ptr==NULL)
{
cout<<"it is a null pointer"<<endl;

}
else
{
cout<<"it is a non-null pointer"<<endl;
cout<<"the length is "<.........【阅读全文】

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

发布时间:2015-07-08 09:52:31

转换的含义是通过改变一个变量的类型为别的类型从而改变该变量的表示方式。为了类型转换一个简单对象为另一个对象你会使用传统的类型转换操作符。比如,为.........【阅读全文】

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

发布时间:2015-07-07 15:19:16

<span style="font-family:微软雅黑, 'Microsoft Yahei', Arial, Helvetica, sans-serif;font-size:14px;line-height:22.3999996185303px;white-space:normal;color:#B22222;background-color:#EEEEEE;">C++提供类型转换函数(type conversion function)来解决这个问题。类型转换函数的作用是将一个类的对象转换成另一类型的.........【阅读全文】

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

登录 注册