登录
首页 » C# » 用C语言作为编程语言,用结构体作为文件和目录等的编程结构;对于文件,其结构体中包括文件名、属性、文件内容、文件长度、指向父目录的指针、指向子目录的指针、指向同层...

用C语言作为编程语言,用结构体作为文件和目录等的编程结构;对于文件,其结构体中包括文件名、属性、文件内容、文件长度、指向父目录的指针、指向子目录的指针、指向同层...

于 2022-12-02 发布 文件大小:3.54 kB
0 101
下载积分: 2 下载次数: 1

代码说明:

用C语言作为编程语言,用结构体作为文件和目录等的编程结构;对于文件,其结构体中包括文件名、属性、文件内容、文件长度、指向父目录的指针、指向子目录的指针、指向同层目录或文件的指针。 目录结构和文件结构相似,只是没有内容,其只有子目录和子文件。 用户结构包括用户名、指向其文件目录的指针、指向下一个用户的指针。设置的文件操作命令有17条:新建文件、新建目录、删除文件、删除目录、在当前目录下指定目录新建子目录、在当前目录下指定目录新建子文件、打开文件、关闭文件、读文件、写文件、修改文件名、修改目录名、修改文件属性、进入指定目录、返回父目录、显示当前目录的信息、显示当前所在目录的路径等。-C language as a programming language, the structure used as a file and directory structure of the program; The document, the body structure, including file name, attribute, the contents of the documents, document length, point to the parent directory pointer subdirectory pointer with directory or file level indicator . Directory structure and the structure of the document is similar, but no, and their only son and subdirectories document. Users structure includes user name, at its directory pointer under a user"s guide. Set up in the paper commands a 17 : new document, the new directory, delete files, delete directory, the current directory specified directory new subdirectories in the current

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Project4_BallmanFord
    (图论)实现负权重转换(Bellman-Ford) 对于输入的任何一个拓扑(部分边的权重为负),要求变换网络中边的权重,任意两节点间的最短路不变,输出变换后各边权重。如果网络中存在负环,程序要有报警功能。算法主体写在CGraph类中((Graph theory) to achieve negative weight conversion (Bellman-Ford) to the input of any topology (some edge weight is negative), requiring transform the network edge weights between any two nodes of the shortest path unchanged, the output transform each edge weights. If the negative loop exists in the network, the program should alarm function. Algorithms written in CGraph class body)
    2020-08-03 17:48:35下载
    积分:1
  • C语言课程设计 材料管理系统
    该系统用于实现仓库管理,系统应支持入库、出库、库存查询以及打印。用户可自定库存警戒值,库存低于警戒值时以红字显示。仓库信息需要用文件存储。根据题目要求,由于货品信息存放在文件中,所以应该提供文件的读入、输出等操作;在程序中要浏览货品信息,应提供显示、查找、排序等操作;实现货物入库功能,要提供结构体的输入操作;实现统计功能,要提供相应的统计操作;实现修改功能,要提供修改操作;另外,还要提供键盘式菜单实现功能选择
    2022-03-18 08:03:03下载
    积分:1
  • 道路网同时最短路径查询的组处理
    全球定位系统的最新进展
    2023-02-17 00:45:04下载
    积分:1
  • uCOS-IIIPSTemWinPFatFSPARM_DSP_Lib
    基于uCOS-III+STemWin+FatFS+ARM_DSP_Lib的示波器源码-stm32f407(Based on uCOS-III+ STemWin+ FatFS+ ARM_DSP_Lib oscilloscope source code-stm32f407)
    2017-01-19 08:38:28下载
    积分:1
  • AppAgain
    在MFC中对单本文的程序,如何添加一个对话框在里面进行显示,In this paper, the MFC-on-one program, how to add a dialog box is displayed on the inside(In this paper, the MFC-on-one program, how to add a dialog box is displayed on the inside)
    2014-06-12 21:06:09下载
    积分:1
  • sunamoon
    模拟日地月运动模型openGL 计算机图形学实验,实现了光照,运动,深度等(Day the Earth-Moon motion simulation model openGL computer graphics experiments achieve illumination, motion, depth, etc.)
    2013-07-16 10:57:14下载
    积分:1
  • 20103112_homework2
    Add, remove, subtract, attach polynomials
    2015-01-13 15:33:46下载
    积分:1
  • ESP8266-WIFI温度传输实验
    说明:  通过ESP8266把DS18B20模块采集到的数据发送给上位机(Data collected by DS18B20 module is sent to PC through ESP8266)
    2020-06-21 04:40:01下载
    积分:1
  • Qt 实现心电图
    Qt 实现心电图
    2020-11-29下载
    积分:1
  • adda_1.0
    说明:  DDA(离散偶极矩方法)计算各种形状的粒子散射问题,源程序是C语言编的(DDA (Discrete dipole moment method) calculation of scattering particles of various shapes, source code is compiled by C language)
    2011-03-09 03:16:53下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载