码迷,mamicode.com
首页 > 其他好文
指针指向一块内存,它的内容是所指内存的地址;而引用则是某块内存的别名(转)
1.指针与引用的区别:指针是一块内存的地址值,而引用是一块内存的别名。下面引自:http://www.cnblogs.com/kingln/articles/1129114.html从概念上讲。指针从本质上讲就是存放变量地址的一个变量,在逻辑上是独立的,它可以被改变,包括其所指向的地址的改变和其指向...
分类:其他好文   时间:2014-11-28 14:16:08    阅读次数:116
使用standardUserDefaults 的注意事项
set值时, 一定要这样:[USER_DEFAULTremoveObjectForKey:@"123"]; [USER_DEFAULTsetObject:obj forKey:@"123"]; [USER_DEFAULTsynchronize];
分类:其他好文   时间:2014-11-28 14:14:52    阅读次数:156
Redis基础介绍及安装示例
Redis基础介绍及安装示例
分类:其他好文   时间:2014-11-28 14:14:36    阅读次数:153
[LeetCode] ZigZag Converesion 之字型转换字符串
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
Two PWM outputs from MCU combine to form a monotonic 16-bits DAC
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
Add current boost to a USB charger
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
Circuit level-shifts ac signals
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
Use a microcontroller to design a boost converter
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
CMD命令小结
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
POJ 1611 The Suspects【并查集】
解题思路:一共给出 n个人,m组,接下来是m组数据,每一组开头是该组共有的人 num,则接下来输入的num个数,这些数是一组的又因为最开始只有编号为0的人携带有病毒,且只有同一组的人会相互传染,问最后一共有多少人携带有病毒,则问题简化为求含有0那一组一共有多少个人。反思:最开始把对应每输入一组的数据...
分类:其他好文   时间:2014-11-28 14:12:29    阅读次数:152
OpenGL基础概念
基本概念透视(Perspective)变换(Transformation)投影矩阵(Projection Matrix):用于将3D坐标转换为2D屏幕坐标光栅化(Rasterization): 实际绘制或填充每个顶点之间的像素形成线段着色器(Shader)是在图形硬件上执行的单独程序,用来处理顶点和...
分类:其他好文   时间:2014-11-28 14:11:07    阅读次数:256
grunt 使用记录
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
UVA - 10344
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
Visual Studio 2013 的 Xamarin 安装教程
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
Lower dc/dc-converter ripple by using optimum capacitor hookup
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目录目录概述——对Category的理解创建CategoryCategory的用途概述——对Category的理解 当我们想往原有的类中添加新的成员方法但又不想改变原有的类和不想使用继承时,我们就可以考虑使用Category;使用Category可以往原有的类中添加新的成员方法而又不...
分类:其他好文   时间:2014-11-28 14:08:39    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!