n.C语言往文件中写字符串函数
The fputs() writes to an open file. 的作用是:将内容写入一个打开的文件中。
Warning: fputs(): supplied argument is not a valid stream resource in d:\www\w\make. php on line 75 fputs要搞两次,才写得进去,我日啊。
The fputs function copies string to the output stream at the current position.It returns a nonnegative value if it is successful. On an error, fputs returns EOF. 在文件的当前位置写入一个字符串.
The results indicated that in seed dehydration process,the level of fSpd,fSpm,ASCC-PAs,AISCC-Put and AISCC-Spd was increased markedly,while the change in fPut was not obvious. 结果表明:在种子成熟脱水过程中,fPut的变化不明显,而fSpd和fSpm的水平明显上升。 酸可溶性共价结合态多胺(ASCC-PAs)、酸不溶性共价结合态腐胺(AISCC-Put)和酸不溶性共价结合态亚精胺(AISCC-Spd)的含量明显升高。
fputs("Username of Password error!!!\n", stdout); 用户名错啦?密码错啦?没钱啦?
fputs($open_file,stripslashes($new_message)); 写入新信息,并去掉其中的“/”,“\\”等符号