初学嵌入式,看到了这样一行代码: typedef t_error (*pCommandFunc)(uint8 *params);一开始认为typedef后面必须要接两个参数才行,后来发现网上的解释后,才知道这其实就是定义了一个“函数指针”类型。最终的到的是一个叫pCommandFunc的“类型”名....
分类:
其他好文 时间:
2014-09-18 22:16:24
阅读次数:
156
WERTYUTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 8371Accepted: 4007Description A common typing error is to place the hands on the keyboa...
分类:
其他好文 时间:
2014-09-18 21:58:24
阅读次数:
221
在编译完gd库等相应文件后,编译php文件的过程中提示一下错误;configure:error:GDbuildtestfailed.Pleasechecktheconfig.logfordetails.解决方法:把php的编译参数:--with-gd修改为:--with-gd=/usr/local/gd/再次对php进行编译./configure...
分类:
Web程序 时间:
2014-09-18 19:10:24
阅读次数:
193
编译带有MongoDB c++ 驱动库的时候,出现了大量LNK2019的错误 1 1>MongoDrv.lib(dbclient.obj) : error LNK2019: 无法解析的外部符号 __imp__WSASetLastError@4,该符号在函数 _WspiapiGetNameInfo@2...
分类:
其他好文 时间:
2014-09-18 18:07:24
阅读次数:
498
Codematurityleveloptions代码成熟等级选项在目前这个版本没有[root@localhostlinux-2.6.32]#makeinstallsh/mnt/sdb1/src/file/linux-2.6.32/arch/x86/boot/install.sh2.6.32arch/x86/boot/bzImage\ System.map"/boot"ERROR:modinfo:couldnotfindmodulek8tempERROR:modinfo:co..
分类:
其他好文 时间:
2014-09-18 16:45:06
阅读次数:
535
需求是几百个文件,命名规则类系下面的文件名:dailydata_20140320.txt通过newLISP合并,首先是自动生成这些文件名,然后用read-file读取内容,再用append-file写入到一个文件中。注意删除上次运行的结果,也要注意有文件不存在的话需要出error.log日志。代码如下:#!/usr/bin/newlisp
(set 'start-date "20140101 0...
分类:
其他好文 时间:
2014-09-18 16:33:34
阅读次数:
202
1.报错: BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while executing this line: D:\workspace\ganji\build.xml:271: Unable ...
分类:
系统相关 时间:
2014-09-18 16:23:44
阅读次数:
184
#include
#include
#include
int main(void)
{
int i;
int *str = NULL;
str = (int*)calloc(10, sizeof(int));
if(str==NULL)
{
printf("calloc error!\n");
...
分类:
其他好文 时间:
2014-09-18 14:55:54
阅读次数:
257
error: 'for' loop initial declarations are only allowed in C99 mode
使用gcc编译代码是报出
error: 'for' loop initial declarations are only allowed in C99 mode
note: use option -std=c99 or -std=gnu99 to...
分类:
其他好文 时间:
2014-09-18 14:55:17
阅读次数:
241