EOF 是一个宏 ,一般定义为-1。
1.EOF用来判断文件结束的标记(end of file) 用在文件操作中,可以查下msdn 看它的定义:EOF is returned by an I/O routine when the end-of-file (or in some cases, an error) is encountered
2.EOF表示输入流的结束。
3.在发送端套接字关闭...
分类:
编程语言 时间:
2014-12-09 00:38:30
阅读次数:
206
EBS通过adpatch打补丁报错
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/32/libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
collect2: ld returned 1 exit status
make: *** [/soft/ebs12/ERPDB/apps/ap...
分类:
其他好文 时间:
2014-12-08 10:48:25
阅读次数:
420
一: 1_3: (1) DIR *opendir(const char *name); (2) DIR *fdopendir(int fd); On error, NULL is returned; (3) struct dirent *readdir( DIR *dp) On error, NUL...
分类:
其他好文 时间:
2014-12-04 17:41:16
阅读次数:
138
-copyWithZone:
Returns a new instance that’s a copy of the receiver. (required)
-mutableCopy
Returns the object returned by mutableCopyWithZone: where
the zone is nil.
Declaration:
- ...
分类:
其他好文 时间:
2014-12-02 17:22:40
阅读次数:
193
最近遇到一个问题,打开Eclipse时会弹出如下对话框在网上查找了相关资料后结合自己的问题,总结如下。导致问题的原因:1. 通常的原因是安装的Eclipse的版本或者Java JDK的版本不匹配,通常,在64位的操作系统上最好安装相对应的Eclipse和Java JDK版本。2. Eclipse.i...
分类:
编程语言 时间:
2014-12-01 14:17:23
阅读次数:
353
编译一个能在 arm 平台上用的动态库,结果报错如下:
relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
./obj/xxx.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
其实错误信息已经给出解决办法了,加...
分类:
其他好文 时间:
2014-11-21 18:40:09
阅读次数:
3187
MySQL Types to Java Types for ResultSet.getObject()
MySQL Type Name
Return value ofGetColumnClassName
Returned as Java Class
BIT(1) (new in MySQL-5.0)
BIT
java.lang.Boolean
...
分类:
数据库 时间:
2014-11-12 13:46:47
阅读次数:
264
如果项目比较大代码较多,在打包时,可能会出现java.lang.OutOfMemoryError: Java heap space
解决方法:\sdk\tools\proguard\bin\proguard.bat
java -jar "%PROGUARD_HOME%"\lib\proguard.jar %* 添加-Xmx1024m -Xms1024m参数,调高JVM 的使用内存;即变成
j...
分类:
编程语言 时间:
2014-11-11 14:24:29
阅读次数:
215
解决参考http://www.rafalinux.com/La búsqueda fue bastante infructuosa, y hasta hace un par de días, nadie respondió a un llamamiento en losforos de Ellisl...
分类:
Web程序 时间:
2014-11-09 20:47:05
阅读次数:
274
在.net+oracle开发中,发布web程序的时候,有是会遇到该错误 ora-01019ORA-01019 unable to allocate memory in the user sideCause: The user side memory allocator returned an err...
分类:
数据库 时间:
2014-11-02 23:46:28
阅读次数:
484