为目录文件树创建一个结构 [英] create a struct for directory file tree

查看:80
本文介绍了为目录文件树创建一个结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为文件/目录树创建结构。 c程序使用每个txt文件的路径的shell脚本获得txt文件输入。例如

a\a1.txt

a\m\m1.txt



你怎么样?为此创建一个结构,c程序将通过这个txt文件解析

how would one go about creating a struct for a file/directory tree. The c program gets a txt file input with shell scripts of the paths of each txt file. for example
a\a1.txt
a\m\m1.txt

how would you create a struct for this, where the c program will parse through this txt file

推荐答案

我不会,我会使用标准版 [ ^ ]。
I wouldn''t, I''d use the standard one[^].


这篇关于为目录文件树创建一个结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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