1 //function1向指定内存写数据,已知a的地址是18FEF0 2 3 int
function1() 4 { 5 int a=0; 6 int *p=&a; 7 int *q=(int*)0x18FEF0;
//指定q的地址为0x18FEF0 8 9 ...
分类:
其他好文 时间:
2014-05-01 20:20:06
阅读次数:
286
没有想通为什么这个简单的问题竟然不是那么简单,太小看它了,以下是两个别人的很不错的solution:Solution1:
1 public class Solution { 2 public int removeDuplicates(int[] A) { 3 // Start...
分类:
其他好文 时间:
2014-05-01 20:19:26
阅读次数:
384
You are given two linked lists representing two
non-negative numbers. The digits are stored in reverse order and each of their
nodes contain a single ...
分类:
其他好文 时间:
2014-05-01 20:18:54
阅读次数:
425
切换网页皮肤:html片段: 蓝色 紫色 红色 天蓝色 ...
分类:
Web程序 时间:
2014-05-01 20:10:58
阅读次数:
490
例如可以使用const PI = 3.14159265; 一般不推荐使用 const
关键字,因为它不是 ECMAScript 语法的一部分。当需要常量的时候一般是以命名习惯来约束的,亦即使用大写字母加下划线。如果需要“真正的”常量的话,可以使用
ECMA 5 的 defineProperty .....
分类:
编程语言 时间:
2014-05-01 20:10:18
阅读次数:
661
关注net mf半个月了,一直在Netduino论坛、net
mf群里潜水学习,有了一些收获。前两天开始画PCB,基于Netduino2,精简了大部分内容,只保留了2个LED,2个按键。它看起来像这样:实物图:我使用Jlink下载Tinybooter,2线SWD方式,下载十分方便~我尝试了Tinyb...
分类:
Web程序 时间:
2014-05-01 20:09:08
阅读次数:
632
1
/******************************************************************** 2 created:
2014/04/29 11:35 3 filename: nth_element.cpp 4 author: ...
分类:
其他好文 时间:
2014-05-01 20:08:30
阅读次数:
404
本文通过Azure Website 和 Azure Table Storage
打造一个网络报名系统,介绍Azure的开发体验,感受云的力量。
分类:
其他好文 时间:
2014-05-01 20:07:49
阅读次数:
494
题目: Given a string S, find the longest palindromic
substring in S. You may assume that the maximum length of S is 1000, and there
exists one unique lo...
分类:
其他好文 时间:
2014-05-01 20:07:13
阅读次数:
429
#include "stdafx.h"#include // 函数声明typedef BOOL
(WINAPI* Proc_CreateProcessW)(LPCWSTR lpApplicationName, LPWSTR lpCommandLine,
...
分类:
其他好文 时间:
2014-05-01 20:05:48
阅读次数:
400