PathRemoveFileSpec
来源:互联网 发布:unix远程登录软件 编辑:程序博客网 时间:2024/09/21 06:34
</pre><pre name="code" class="cpp">#include <stdio.h>#include <Shlwapi.h>#pragma comment(lib,"Shlwapi.lib")int main(int argc, char *argv[]){wchar_t self[MAX_PATH] = L" ";GetModuleFileName(NULL, self, MAX_PATH);PathRemoveFileSpec(self);printf("↓获得文件所在盘符,本文件所在盘符为\n");printf("%s盘\n", self);system("pause");return 0;}
0 0
- PathRemoveFileSpec
- PathRemoveFileSpec
- PathRemoveFileSpec
- PathRemoveFileSpec
- PathRemoveFileSpec 浅析
- 【涨函数】PathRemoveFileSpec函数
- VC++库函数PathRemoveFileSpec() 使用说明
- PathRemoveFileSpec函数的作用是将路径末尾的文件名和反斜杠去掉
- TextView文本设置不同的样式
- 349.[Leetcode]Intersection of Two Arrays
- java-类加载器
- mysql:存储过程和函数
- 最新百度开放云平台应用引擎BAE空间使用教程
- PathRemoveFileSpec
- 智能聊天机器人小黄鸡及其制作方法
- 数据持久化
- SimpleDateFormat的线程安全问题与解决方案
- hdu4004 Frog’s Game【二分+贪心】
- Linux之将多个文件里的内容按行方式依次添加到文件Z的末尾
- Java-文件拷贝(字节流)
- 顺序表应用2:多余元素删除之建表算法
- 我眼中的Linux设备树(一 概述)