保存到文件 [英] saved to file

查看:92
本文介绍了保存到文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i有这个代码

但我有问题

i可以插入作业的NO并将其保存在名为txt的文件中通过内存

但是当我关闭文件内存时,此文件上的所有数据都将丢失,如何保存它而不会丢失数据

并且我不会使文件内存100 kb

当输入大于100 kb的工作总数时,程序必须为我发送消息我的canot节省了超过100 kb

帮助我




这段代码我在这个代码上传它

http://www.2shared.com /file/2387324/...a/Fitting.html

推荐答案


hi

i有这个代码

但是我有问题

i可以插入作业的NO并将其保存在由内存命名的txt文件中

但是当我关闭文件内存时,此文件上的所有数据都会丢失,我怎样才能保存它而不会丢失数据

我不会在100 kb上制作文件内存

,当输入大于100 kb的工作总数时,程序必须为我发送消息我的canot节省了超过100 kb

帮助我




这段代码我在这个代码上传它


http://www.2shared.com/file/2387324/a059371a/Fitting.html
hi
i have this code
but i have problem that is
i can ensert the NO of job and saved it on txt file named by memory
but when i close the file memory all data on this file is lost , how can i saved it without lost data
and i wont to make the file memory on the 100 kb
and when enter the total of the job great than 100 kb the program must be send for me message " i canot saved more than 100 kb "
help me



this code i upload it on this sit

http://www.2shared.com/file/2387324/a059371a/Fitting.html



您希望我们为您提供帮助然而你在其他地方发布了你的代码?

来吧不要偷懒。这只是复制和粘贴的问题。发布代码时使用代码标签。

You want us to help you and yet you post your code elsewhere?
Come on don''t be lazy. It''s just a matter of copy and paste. And use code tags when you post the code.


hi

i有这个代码

但我有问题是

i可以插入作业的NO并将其保存在由内存命名的txt文件中

但是当我关闭文件内存时,此文件上的所有数据都将丢失,如何保存它而不会丢失数据

和我不会在100 kb

上创建文件内存,当输入大于100 kb的工作总数时,程序必须为我发送消息 ;我节省了超过100 kb

帮助我


hi
i have this code
but i have problem that is
i can ensert the NO of job and saved it on txt file named by memory
but when i close the file memory all data on this file is lost , how can i saved it without lost data
and i wont to make the file memory on the 100 kb
and when enter the total of the job great than 100 kb the program must be send for me message " i canot saved more than 100 kb "
help me


展开 | 选择 | 换行 | 行号


阅读文章。


大于100kb的工作总数是什么意思?你的意思是文件大小不应超过100kb吗?
Read this article.

What do you mean by the total of the job greater than 100kb? Do you mean that the file size should not exceed 100kb?


这篇关于保存到文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆