作为新手,我把之前遇到的问题贴出来错误提示1:TypeError: unbound method a() must be called with A instance as first argument (got nothing instead)1 class A:2 def a(self)...
分类:
编程语言 时间:
2015-01-29 20:58:16
阅读次数:
173
1.服务端listen成功后,系统就自动接收客户端请求了
man listen:
其中有一段
The behavior of the backlog argument on TCP sockets changed with Linux
2.2. Now it specifies the queue length for completely establishe...
分类:
其他好文 时间:
2015-01-29 19:36:53
阅读次数:
251
看《TIJ》时老看到“引数”这个词,觉得怪别扭的,但一直没去查引数和参数有何区别,先查资料终于明白了:1.http://blog.chinaunix.net/u/25073/showart_188475.html一般说来,两个是可以互换的。但是 C 程序员的习惯是:parameter 是参数,而 a...
分类:
其他好文 时间:
2015-01-28 14:16:11
阅读次数:
147
在对一个函数写一个注释时,我在考虑到底该用parameter还是用argument来描述其参数呢。根据网上一些资料,对parameter和argument的区别,做如下的简单说明。1. parameter是指函数定义中参数,而argument指的是函数调用时的实际参数。2. 简略描述为:parame...
分类:
其他好文 时间:
2015-01-28 09:29:27
阅读次数:
169
ie9中运行js时,出现错误:参数是必选项(Argument not optional)、尚未实现等...
分类:
其他好文 时间:
2015-01-27 14:59:01
阅读次数:
1018
/** Retrun Type : string Argument Name as_tj[]*/long count,istring ls_filtercount=upperbound(as_tj)if count'' and not isnull(as_tj[1]) th...
分类:
其他好文 时间:
2015-01-22 21:47:32
阅读次数:
146
通常的转移符为“\”,可以由“\”和“%”表示特殊字符。具体对应如下:Argument Description 中译\ The escaped identifier “\”转义标识符号的标志(开头) ...
分类:
其他好文 时间:
2015-01-22 17:42:55
阅读次数:
132
链接:va_list百科1:概述VA_LIST 是在c语言中解决变参问题的一组宏,所在头文件:#include 2:成员#ifdef _M_ALPHAtypedef struct {char *a0; /* pointer to first homed integer argument */int ...
分类:
其他好文 时间:
2015-01-21 21:53:42
阅读次数:
143
AfxMessageBox(("click"));错误 error C2665: 'AfxMessageBox' : none of the 2 overloads could convert all the argument types 解决方法:AfxMessageBox(_T("click")...
分类:
其他好文 时间:
2015-01-20 15:22:53
阅读次数:
186
1. warning: incompatible implicit declaration of built-in function 'strlen'
解决方案: #include
2. client.c:61: warning: passing argument 1 of 'snprintf' from incompatible pointer type
解决方案: 数据类型定义错误,...
分类:
其他好文 时间:
2015-01-20 13:49:30
阅读次数:
334