C中的文件夹/目录 [英] folder/directories in C

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

问题描述

如何在C中创建文件夹/目录。是否有任何库

这些功能?

how to create folders/directories in C. are there any library
functions for these?

推荐答案

smarty说:
smarty said:

如何在C中创建文件夹/目录。是否有任何库

这些功能?
how to create folders/directories in C. are there any library
functions for these?



当然可以,但确切的细节因实现而不同于另一种实现 - 没有标准函数可以做到这一点。我建议在

组中询问具体处理你的实现,或者至少是你的

平台。


-

Richard Heathfield< http://www.cpax.org.uk>

电子邮件:-http:// www。 + rjh @

谷歌用户:< http://www.cpax.org.uk/prg/writings/googly.php>

Usenet是一个奇怪的放置" - dmr 1999年7月29日

Yes, of course, but the exact details differ from one implementation to
another - there is no standard function to do this. I suggest asking in a
group that deals specifically with your implementation or, at least, your
platform.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999


smarty说:
smarty said:

>

how在C中创建文件夹/目录是否有任何库

这些功能?
>
how to create folders/directories in C. are there any library
functions for these?



你可以照看dirent.h( http://www.google.com.br/search?

hl = en& q = dirent& btnG = Search& meta = /
http://www.google.com.br/search?hl=e...+Search&meta=)


问候

Rafael

You can look after dirent.h (http://www.google.com.br/search?
hl=en&q=dirent&btnG=Search&meta= /
http://www.google.com.br/search?hl=e...+Search&meta=).

Regards
Rafael


Richard Heathfield写道:
Richard Heathfield wrote:

smarty说:
smarty said:

>如何在C中创建文件夹/目录。这些库有什么功能吗?
>how to create folders/directories in C. are there any library
functions for these?



是的,当然,但确切的细节因实现而不同于另一个实现 - 没有标准函数可以做到这一点。我建议在一个

组中询问具体处理您的实现,或者至少是您的

平台。


Yes, of course, but the exact details differ from one implementation to
another - there is no standard function to do this. I suggest asking in a
group that deals specifically with your implementation or, at least, your
platform.



如果所有其他方法都失败,system()通常可用于调用你输入的任何操作系统级别的命令。用手创建一个文件夹。


-

马克麦金太尔


CLC FAQ< http:// c-faq.com/>

CLC自述文件:< http://www.ungerhu.com/jxh/clc.welcome.txt>

And if all else fails system() can generally be used to invoke whatever
OS-level command you''d type in by hand to create a folder.

--
Mark McIntyre

CLC FAQ <http://c-faq.com/>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

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

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