ChinaUnix.net
相关文章推荐:

basecan't write baseconfphp file

发现了一个奇怪的问题,我的程序在下面没有问题,可以得到正确的,数据并且显示图象,但是同样的程序在下得到的文件大小是不一样的,很奇怪,好象文件指针发生了偏移从中的129和130可以看出,文件指针的偏移不是80000,大家遇到过同样的问题吗,这个问题把我弄郁闷了,偏偏老师需要的是版本.下面是程序和log /************************************************ This program make difference between 2 images, this differ...

by 菜鸟小刀 - C/C++ - 2008-02-28 20:28:50 阅读(1381) 回复(1)

相关讨论

Dear All : 用C Shell 我如何寫text到一個file? 如何從file讀入text? 可否提供範例,Thanks!!!

by ksc - Shell - 2003-03-04 16:18:48 阅读(1617) 回复(6)

Can anybody give some advice about how to write a c header file?Thanks

by fedoracore4 - C/C++ - 2006-02-08 19:31:49 阅读(1015) 回复(2)

sorry: i want to read or write the picture and sound file in unix,for example the '.jpeg' file. this my done: ..... int fd1=open("/load/picture1.jpg",O_RDONLY); ..... but fd1 is -1,why? thanks!!

by sgs - C/C++ - 2005-06-13 21:19:37 阅读(940) 回复(4)

在windows下写一个txt文件 然后读出来 发现为什么总是跳行读出呢,中间总是省略了, 代码贴下,哪位兄弟看看有啥错误啊 ,不知道是不是 写入文件时候print("$stringline \r\n");这句话不太对呢,我觉得没啥问题呢. 可读出来的时候才发现有问题呢. 谢谢! 输入到文件中的是array of array 1,2,3 4,6,8 a,b,c,d e,f,g 但读出后print竟然只 4,6,8 e,f,g 中间的两行不见了 这个是为啥呢 ? my $filepath="\.\\temp\\IDX.TXT"; open my...

by jiwei800715 - Perl - 2009-02-26 10:06:22 阅读(1515) 回复(2)

启动squid就会出现以下警告,然后过一会进程就自动终止了 WARNING: Cannot write log file: none none: Permission denied messages will be sent to 'stderr'. 其中三个日志得配置如下: access_log none cache_log none cache_store_log none 只要我把上面三个注释掉,就不会报上面得警告。难道是将none当成了日志文件名?

by looovy - 服务器应用 - 2007-03-09 11:03:30 阅读(2560) 回复(2)

改变read,write,readdir,open,release等函数指针,发现readdir可以正常获得目录名,open,release只能截获目录的操作, read,write完全截获不了任何操作。 请问各位大虾有遇到类似问题吗。现在感觉上是对目录的操作都能截获,但是对文件操作的就完全没有。 readdir(工作正常) 和 read 代码如下 int my_readdir(struct file *fp, void *buf, filldir_t filldir) { char *path = (char*)kmalloc(MAX_DIR_LENTH); ...

by viton_xuan - 内核/嵌入技术 - 2006-02-10 13:07:57 阅读(2808) 回复(18)

I found I can't write two public class in a java file,only 1 public class is allowed in a java file,and the name of the public class is the name of the java file. Is it right? So,I have a question now: if a class2 in java file2 wants to uses a class1(not public) in java file1,how can class2 access class1? thanks for any hint

by qdxby - Java - 2005-03-26 21:21:33 阅读(1093) 回复(4)

inu服务器起动后有二个报错/bin/date和/bin/cat,系统显示E 297:write errorin swap file ;linux下修改文件,提示write error(file system sull?),求救:QQ272976620, MSN :netgjb@tom.com

by netgjb - 系统管理 - 2005-01-20 16:47:25 阅读(437) 回复(0)

在用write给终端发送信息时,如何去掉系统的提示(信息的来源,时间等提示),只发送信息内容?

by 旭日升 - Shell - 2006-04-15 21:24:12 阅读(1283) 回复(2)

同上!谢谢!我的时linux系统! [ 本帖最后由 jsrdcy 于 2007-7-5 09:11 编辑 ]

by jsrdcy - Shell - 2007-07-05 09:16:26 阅读(3253) 回复(1)