Comments (6)
from vdfat16.
十分感谢回答,但是我在add file添加文件时无论输入任何文件名都提示我文件不存在。如程序第346行所示
if((filefp=fopen(nam,"rb"))==NULL){
printf("The file does not exist.");
getchar();
return;
}
- nam 是否应该和readDisk() 函数一样需要和root连接?
- 既然前面已经删除了同名文件,为何还要判断文件是否存在?
- fopen 只是在内存中分配一个 file 结构单元,为何在执行程序时指针为空?
- 上述代码注释掉后程序直接停止运行,写入文件失败
还望有时间的时候进行解答,万分感谢
from vdfat16.
还请指教
#define FAT1 136
#define FAT2 192
#define DIR 248
#define DATA 280
程序初始定义的参数值是如何找到的?
from vdfat16.
from vdfat16.
from vdfat16.
感谢解答!写的真棒!
from vdfat16.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vdfat16.