相信大家都用过sprintf这个函数,就是下面这样:int sprintf( char*buffer,const char*format[,argument] ...);在之前看到了用va_list实现的几个处理字符串的函数,基本都是这种形式的,感到非常好用,今天来谈一下 va_list 的使用问题...
分类:
其他好文 时间:
2014-07-26 00:01:06
阅读次数:
407
试着去调一段代码,在OK6410上以Qt为界面显示出来,得到以下两个结果 1、VIDIOC_QUERYBUF error 22, Invalid argument 2、s3c-fimc: invalid target size 很无奈的我找到的资料都是问这个问题的,没有一个解决的 甚至于对OK641...
分类:
其他好文 时间:
2014-07-25 23:54:10
阅读次数:
652
查阅官档: ?FROM_UNIXTIME(unix_timestamp),?FROM_UNIXTIME(unix_timestamp,format) Returns a representation of the?unix_timestamp?argument as a value in?‘YYYY-MM-DD HH:MM:SS‘?orYYYYMMDDHHMMSS?f...
分类:
数据库 时间:
2014-07-23 17:39:21
阅读次数:
268
class ctypes.py_objectRepresents the C PyObject * datatype. Calling this without an argument creates a NULL PyObject * pointer.示例:>>> dc = {'a':'aaa',...
分类:
编程语言 时间:
2014-07-22 00:28:38
阅读次数:
373
说起backlog, 都会想起socket编程中的listen backlog 参数,而这个backlog 是linux内核中处理的backlog么?
int listen(int sockfd, int backlog)man listen
可以看到关于listen 的解释
The backlog argument defines the maximum length to wh...
分类:
系统相关 时间:
2014-07-19 02:44:36
阅读次数:
534
拉普拉斯变换是工程数学中常用的一种积分变换,又名拉氏转换。拉氏变换是一个线性变换,可将一个有引数实数t(t≥ 0)的函数转换为一个引数为复数s的函数。追问什么叫引数回答引数(Argument):程序中函数的参数。源自日语【ひきすう】同义词:参数(parameter),有些书中严格区分参数和引数,认为...
分类:
其他好文 时间:
2014-07-18 14:29:52
阅读次数:
387
If you played with the Fibonacci function, you might have noticed that the bigger the argument you provide, the longer the function takes to run. Furt...
分类:
其他好文 时间:
2014-07-16 18:14:59
阅读次数:
278
In this blog, generic collections will be talked about in details. In the past bacause of shortage of generic argument, less importance has been attached to the this module. Just now after
readin...
分类:
其他好文 时间:
2014-07-15 12:45:00
阅读次数:
253
其实2009年Processing就能做AR了,只是我不知道而已~需要以下几个东西:1、JMyron2、GSVideo3、nyar4psg4、Picking5、OBJLoader或者大伙也可以去下【鲸男】的ARforProcessingAll.zip包,但是里面的东西已经很老了,而且有些小错误,可能...
分类:
其他好文 时间:
2014-07-15 08:04:43
阅读次数:
346
int fscanf( FILE *stream, const char *format [, argument ]... );
下面是csdn的例子:
/* FSCANF.C: This program writes formatted
* data to a file. It then uses fscanf to
* read the various data back from...
分类:
其他好文 时间:
2014-07-14 16:15:19
阅读次数:
207