"."和".."分别代表什么 我在一个程序里看到WIN32_FIND_DATA findData;CString tFile;tFile=findData.cFileName;if(tFile=="."||tFile=="..")"."和".."分别代表什么啊, 很纳闷,希望高人指点下。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 "."代表当前目录".."代表上级目录MSDN:Use a period (.) as a directory component in a path to represent the current directory. Use two consecutive periods (..) as a directory component in a path to represent the parent of the current directory. "."代表当前目录 ".."代表上级目录 CMD里试下就可以肯见效果了 cmd里 测试cd .cd .. //呵呵,看来还是学过dos或者linux的好。 一个关于windows api 的问题mci函数 TAB CONTROL里面的对话框 刚开始学.请问VC程序的入口在哪啊? 关于查找的算法问题 VC中内存泄漏的问题从何下手解决? 如何在局域网内的另一台计算机创建一个文件,并且写入?有什么办法可以做到 VC中处理FLASH动画的问题。 侯捷和侯俊杰是一个人吗? 急问一个问题! IOCP模型 //需要自己封装线程池吗? 请教SDI与MDI的转换 IWMReader close总是死掉
".."代表上级目录MSDN:
Use a period (.) as a directory component in a path to represent the current directory.
Use two consecutive periods (..) as a directory component in a path to represent the parent of the current directory.
".."代表上级目录 CMD里试下就可以肯见效果了
cd ..
//呵呵,看来还是学过dos或者linux的好。