下面实现的是一个简单的单链表功能不多,学习使用#pragma once#include
using namespace std;class ListEx{private: struct Node { Node* next; int data;
N...
分类:
编程语言 时间:
2014-06-11 10:06:26
阅读次数:
246
首先看一个简单的Json格式的数据:{data:{id:1,text:"this is
text",src:"abc/abc/abc.png"},success:true}当使用Json数据向前端传递数据的时候,如果数据中出现引号的时候,如果不能转义,那么前台,就会获取一个错误的Json格式的数据,...
分类:
Web程序 时间:
2014-06-11 09:52:21
阅读次数:
1228
一:在数组中添加一个元素,截图二:代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;...
分类:
其他好文 时间:
2014-06-11 09:31:46
阅读次数:
281
DQM就是掩码控制位.在sdram中,每个DQM控制8bit
Data在读操作的时候没什么大的影响,比如你读32位的sdram module,
但你只要其中低8bit的数据,没有关系,只要读出32bit数据,再在软件里将高24位bit和0"与"就可以了,有没有DQM关系不大.但在执行写操作时,如.....
分类:
其他好文 时间:
2014-06-11 09:02:20
阅读次数:
289
Liskov Substitution Princple, LSPFor every
object "o1" from type "t1", there is object "o2" from type "t2", when all "o2"
is replaced with "o1" in pro...
分类:
其他好文 时间:
2014-06-11 08:52:44
阅读次数:
221
分析Model2系统心得前言:观摩他人的项目,学到一些新的。实践经验呀!!!1、
怎样使用字符串处理类?从页面获取的Form类或者字段取值时使用。2、在验证用户身份时,先推断username,再推断password,能够防止用户输入恒等式后直接登录系统。比如:select
* from tb_use...
分类:
其他好文 时间:
2014-06-11 08:42:42
阅读次数:
223
public voidnotifyDataSetChanged()Added inAPI
level 1Notifies the attached observers that the underlying data has been changed
and any View reflecting ...
分类:
移动开发 时间:
2014-06-11 07:44:51
阅读次数:
270
from
unkonwn1.CLOSED:起始点,在超时或者连接关闭时候进入此状态。2.LISTEN:svr端在等待连接过来时候的状态,svr端为此要调用socket,
bind,listen函数,就能进入此状态。此称为应用程序被动打开(等待客户端来连接)。3.SYN_SENT:客户端发起连接,发送...
分类:
其他好文 时间:
2014-06-10 00:14:59
阅读次数:
253
Given amxngrid filled with non-negative
numbers, find a path from top left to bottom right whichminimizesthe sum of all
numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-07 20:22:17
阅读次数:
264
使用boost库时,经常会看到如下的类class A:public
enable_share_from_this在什么情况下要使类A继承enable_share_from_this?使用场合:当类A被share_ptr管理,且在类A的成员函数里需要把当前类对象作为参数传给其他函数时,就需要传递一个指...
分类:
其他好文 时间:
2014-06-07 16:59:55
阅读次数:
234