[cpp] Re: c语言如何判断一个路径是文件还是文件夹

hit_pc hit_pc at 163.com
Sun Oct 28 11:27:53 CST 2007


找到了一段,google代码搜索真是个好东西口牙.

http://www.google.com/codesearch?hl=en&q=+lang:c+isdir+dos+show:nI_l4_Va-vY:YWVR6qkuviY:YxWN0Vka88A&sa=N&cd=38&ct=rc&cs_p=ftp://sunsite.icm.edu.pl/pub/Linux/elks/elkscmd-20020304.tar.gz&cs_f=elkscmd/mtools/isdir.c#first



On 10/28/07, hit_pc <hit_pc at 163.com> wrote:
>
> cpp:
>     就是类似于python中的``isdir''函数,找了半天都没有找到.
> 操作系统是xp,不能使用``S_ISDIR''.
>
>>>
> lichao
> 20071028
>
> --
> //-------------------------
> 毫无疑问,
> 我写的code,
> 是全世界,
> 最鲁棒的。




-- 
//-------------------------
毫无疑问,
我写的code,
是全世界,
最鲁棒的。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codingnow.com/pipermail/cpp/attachments/20071028/00418e0d/attachment.html


More information about the Cpp mailing list