/*EXEC master..xp_cmdshell 'BCP "select * from NBZA_Live_20140613.dbo.StoreList for xml Raw " queryout D:\XML\my_StoreList_20140630001.xml -c -U"sa" -...
分类:
其他好文 时间:
2014-07-01 12:23:38
阅读次数:
313
设备资源管理系统-DAO底层方法-查询JSP页面 名称input type="text" name="textName" 备注 input type="text" name="textRemark"功能流程部分语句 SELECT * FROM elec_text o DAO层写的语句 ...
分类:
其他好文 时间:
2014-07-01 12:00:45
阅读次数:
198
//这里实现 某个文件下的所有图片,并列出来!
header("Content-type:text/html;charset=utf8");
$handle=opendir('.');
echo "目录 handle: $handle\n";
echo "档案:\n";
while ($file = readdir($handle)) {
if(@eregi("[_\.0-...
分类:
Web程序 时间:
2014-07-01 11:19:52
阅读次数:
233
分三块来讲述: 1 首先://注意在C和C++里不同 在C中定义一个结构体类型要用typedef: typedef struct Student { int a; }Stu; 于是在声明变量的时候就可:Stu stu1;(如果没有typedef就必须用struc...
分类:
其他好文 时间:
2014-07-01 10:32:38
阅读次数:
132
SRIO Packets:
The RapidIOdata stream consists of data fields pertaining to the logical layer, thetransport layer, and the physical layer.
? The logical layer consists of the header (defining the typ...
分类:
其他好文 时间:
2014-07-01 09:03:27
阅读次数:
294
上回书说道:灰常灰常基本的数据类型
下面咱们来点高级的:
Tuples 元组
元组存储一对键值,并且没有类型限制
let http404Error = (404, "Not Found")
// http404Error is of type (Int, String), and equals (404, "Not Found")书上废话一堆,反正元组就是这么写,上面的例子还...
分类:
其他好文 时间:
2014-07-01 06:55:09
阅读次数:
236
#include
#include
#define MAX_MSG_BUF_LEN 512
int iKey = 6004;
struct ipcmsgbuf
{
long mtype;
char mtext[MAX_MSG_BUF_LEN];
};
int main( void )
{
int qid;
cha...
分类:
其他好文 时间:
2014-07-01 06:50:31
阅读次数:
199
题目给了你一串序列,然后每次 把最后一个数提到最前面来,直到原来的第一个数到了最后一个,每次操作都会产生一个新的序列,这个序列具有一个逆序数的值,问最小的你逆序数的值为多少
逆序数么 最好想到的是树状数组,敲了一把很快,注意把握把最后一个数提上来对逆序数的影响即可,
#include
#include
#include
#include
#include
#includ...
分类:
其他好文 时间:
2014-07-01 06:42:09
阅读次数:
186
var ivar = [:]
ivar.className // __NSDictionaryI
var i = 1
i.className // error: 'Int' does not have a member named 'className'
If you want to get the type of a primitive, you have to use brid...
分类:
移动开发 时间:
2014-07-01 06:31:12
阅读次数:
234
jQuery.inArray(value, array)如果 value 在 array 中,则返回该 value 所在的位置。否则返回 -1。这个简单的函数实际上是模拟 Array.prototype.indexOf 函数的,对于旧的不支持 indexOf 的浏览器(例如IE6-IE8),就需要补...
分类:
Web程序 时间:
2014-07-01 00:40:12
阅读次数:
342