文件名称:1-ycx
介绍说明--下载内容来自于网络,使用问题请自行百度
这是一个通讯录程序,建立一个通讯录数据库,运行程序时,将数据读入内存,可以对数据进行删除/修改/添加 操作.数据库是由结构体构成的链表.
问题是:执行删除操作时出点问题.
我在内存中对数据的操作都正常,程序里面有个ShowAll()函数,可显示操作后的数据.我删除一个结点后,显示删除成功.然后退出程序,退出前有个Save()函数,将数据存盘.下次打开后,读取数据正常,用ShowAll()函数正确显示上次对数据的操作,如果这时进行添加或退出,就出问题.具体的问题你可以将程序编译执行搞几个数据试试.-This is a directory procedures, the establishment of a directory database, operational procedures, the data is read into memory, the data can delete / modify / add operations. The database is posed by the structure of the List. the question is : implementation delete operation point out the problem. my memory of data operations are normal. inside there is a ShowAll () function can display the data after the operation. I have deleted a node, reflect the deletion of success. then withdraw from the process, from pre-Save () function. data archiving. next opened, read data normal, with ShowAll () function to the correct data of the last operation, if the time for adding or withdrawing from, on the problem. specific problems you can engage in the implementation of procedures for compiling data
问题是:执行删除操作时出点问题.
我在内存中对数据的操作都正常,程序里面有个ShowAll()函数,可显示操作后的数据.我删除一个结点后,显示删除成功.然后退出程序,退出前有个Save()函数,将数据存盘.下次打开后,读取数据正常,用ShowAll()函数正确显示上次对数据的操作,如果这时进行添加或退出,就出问题.具体的问题你可以将程序编译执行搞几个数据试试.-This is a directory procedures, the establishment of a directory database, operational procedures, the data is read into memory, the data can delete / modify / add operations. The database is posed by the structure of the List. the question is : implementation delete operation point out the problem. my memory of data operations are normal. inside there is a ShowAll () function can display the data after the operation. I have deleted a node, reflect the deletion of success. then withdraw from the process, from pre-Save () function. data archiving. next opened, read data normal, with ShowAll () function to the correct data of the last operation, if the time for adding or withdrawing from, on the problem. specific problems you can engage in the implementation of procedures for compiling data
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.txt
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.