1.指针与引用的区别:指针是一块内存的地址值,而引用是一块内存的别名。下面引自:http://www.cnblogs.com/kingln/articles/1129114.html从概念上讲。指针从本质上讲就是存放变量地址的一个变量,在逻辑上是独立的,它可以被改变,包括其所指向的地址的改变和其指向...
分类:
其他好文 时间:
2014-11-28 14:16:08
阅读次数:
116
set值时, 一定要这样:[USER_DEFAULTremoveObjectForKey:@"123"]; [USER_DEFAULTsetObject:obj forKey:@"123"]; [USER_DEFAULTsynchronize];
分类:
其他好文 时间:
2014-11-28 14:14:52
阅读次数:
156
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:
其他好文 时间:
2014-11-28 14:14:43
阅读次数:
154
http://www.edn.com/design/analog/4329365/Combine-two-8-bit-outputs-to-make-one-16-bit-DAC
分类:
其他好文 时间:
2014-11-28 14:12:04
阅读次数:
226
The popular USB interface can charge a portable device while transferring data. But for high-capacity batteries, the 500-mA output current of USB host...
分类:
其他好文 时间:
2014-11-28 14:12:33
阅读次数:
169
AC signals can emanate from many sources, and many of these sources are incompatible with the most popular interface voltages, such as TTL. A temptati...
分类:
其他好文 时间:
2014-11-28 14:13:40
阅读次数:
190
Boost converters, like other switchers, have traditionally received their control signals from a dedicated circuit. However, a recent trend is to inte...
分类:
其他好文 时间:
2014-11-28 14:13:18
阅读次数:
151
C:\Windows\Explorer.exe “文件具体目录(要加文件后缀名)”,(Explorer.exe后有一个空格,例如C:\Windows\Explorer.exeC:\temp\New Microsoft Word 文档.docx);winword 新建一个Word文档;gpedit.m...
分类:
其他好文 时间:
2014-11-28 14:12:50
阅读次数:
197
解题思路:一共给出 n个人,m组,接下来是m组数据,每一组开头是该组共有的人 num,则接下来输入的num个数,这些数是一组的又因为最开始只有编号为0的人携带有病毒,且只有同一组的人会相互传染,问最后一共有多少人携带有病毒,则问题简化为求含有0那一组一共有多少个人。反思:最开始把对应每输入一组的数据...
分类:
其他好文 时间:
2014-11-28 14:12:29
阅读次数:
152
基本概念透视(Perspective)变换(Transformation)投影矩阵(Projection Matrix):用于将3D坐标转换为2D屏幕坐标光栅化(Rasterization): 实际绘制或填充每个顶点之间的像素形成线段着色器(Shader)是在图形硬件上执行的单独程序,用来处理顶点和...
分类:
其他好文 时间:
2014-11-28 14:11:07
阅读次数:
256
grunt -- 项目构建工具package.json{ "name": "app", "version": "1.0.0", "devDependencies": { "grunt": "~0.4.5", "grunt-contrib-jshint": "~0.10.0", ...
分类:
其他好文 时间:
2014-11-28 14:10:08
阅读次数:
176
Problem I23 Out of 5Input:standard inputOutput:standard outputTime Limit:1 secondMemory Limit:32 MBYour task is to write a program that can decide whe...
分类:
其他好文 时间:
2014-11-28 14:10:25
阅读次数:
157
顺序存储结构 顺序存储定义线性表的顺序存储结构,线性表的顺序存储结构,指的是用一段地址连续的存储单元依次存储线性表的数据元素。顺序存储结构在C语言中可以用一维数组来实现顺序存储结构存储空间的起始位置:数组node线性表的最大容...
分类:
其他好文 时间:
2014-11-28 14:09:32
阅读次数:
150
Xamarin 配置手册和离线包下载 http://pan.baidu.com/s/1eQ3qw8a 具体操作: 安装前提条件 1、 安装Visual Studio 2013,安装过程省略,我这里安装的windows10 + vs2013 with update 4。 2、 安装Java SDK,按...
分类:
其他好文 时间:
2014-11-28 14:09:49
阅读次数:
348
Low-ripple-voltage positive-to-negative dc/dc converters find use in many of today's high- frequency and noise-sensitive disk drives, battery-powered ...
分类:
其他好文 时间:
2014-11-28 14:08:43
阅读次数:
251
Category目录目录概述——对Category的理解创建CategoryCategory的用途概述——对Category的理解 当我们想往原有的类中添加新的成员方法但又不想改变原有的类和不想使用继承时,我们就可以考虑使用Category;使用Category可以往原有的类中添加新的成员方法而又不...
分类:
其他好文 时间:
2014-11-28 14:08:39
阅读次数:
128