在使用STM32读取SD Card的文件时,总是会卡死在读函数那里res = f_read(&fsrc, gbuffer, sizeof(gbuffer)-1, &br);而且出现很奇怪的现象。若是我只定义全局变量BYTE gbuffer[TEMP_SIZE];// file copy gbuffe...
分类:
其他好文 时间:
2015-07-10 15:00:11
阅读次数:
136
From:http://www.cnblogs.com/smailxiaobai/archive/2012/01/13/2321850.html--建立一个数据表这可以是你的一个物理表declare @temp table( ID varchar(20), ParentID varcha...
分类:
其他好文 时间:
2015-07-10 13:23:27
阅读次数:
107
一、交换两个数的值 1 //交换两个数的值 2 #region 方法一 3 int num1 = 10, num2 = 20;//待交换的两个数值 4 int temp;//临时变量 5 temp = ...
OMI卫星格点数据的例子,全球臭氧柱总量分布。脚本程序:#Add data filefolder = 'D:/Temp/hdf/'fns = 'OMI-Aura_L3-OMTO3e_2005m1214_v002-2006m0929t143855.he5'fn = folder + fnsf = ad...
分类:
其他好文 时间:
2015-07-10 00:17:56
阅读次数:
244
这个例子读取OMI卫星Swath数据中的CloudFaction变量并绘图。脚本程序:#Add data filefolder = 'D:/Temp/hdf/'fns = 'OMI-Aura_L2-OMNO2_2008m0720t2016-o21357_v003-2008m0721t101450.h...
分类:
其他好文 时间:
2015-07-10 00:14:27
阅读次数:
296
// Heap.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#includeint h[101];//存放数组int n;//存放数组元素个数using namespace std;//void swap(int *a,int *b)//{// int temp...
分类:
编程语言 时间:
2015-07-09 11:01:43
阅读次数:
122
应用场景128:创建临时表
创建一个保存临时选择商品信息的临时表temp_goods
CREATE GLOBAL TEMPORARY TABLE temp_goods
(GoodsId NUMBER,
GoodsNum NUMBER,
Price NUMBER)
ON COMMIT DELETE ROWS;
创建一个临时表空间
CREATE TEMPORARY TABLE...
分类:
数据库 时间:
2015-07-09 08:32:56
阅读次数:
128
#includeusing namespace std;void main(){ int array[10] = { 1, 2, 31, 54, 65, 75, 23342, 42, 6, 52 }; int i, j, temp; bool k; for (i = 9, k = true; i >...
分类:
编程语言 时间:
2015-07-08 22:25:41
阅读次数:
147
Extract Method(110) 将两个类的相同部分提取成函数Inline Method(117) 内联函数Replace Temp with Query(120) 将临时变量替代为查询语句Replace Method With Method Object(135) 用方法对象替换方法Subs...
分类:
其他好文 时间:
2015-07-08 18:13:27
阅读次数:
127
https://leetcode.com/problems/happy-number/快乐数 1 class Solution { 2 public: 3 bool isHappy(int n) { 4 int res; 5 int temp; 6 ...
分类:
移动开发 时间:
2015-07-08 12:21:17
阅读次数:
176