showFilesName.cpp
来源:互联网 发布:软件研发部门架构 编辑:程序博客网 时间:2024/06/02 07:30
// showFilesName.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <string.h>
char * returnFileNoPath(char * path)
{
char* p=path;
int len=strlen(path);
p+=(len-1);
while (*p != '\\')
{
p-=1;
}
p+=1;
return p;
}
int main(int argc, char* argv[])
{
for (int i=1;i<argc;i++)
{
printf("%s\n",returnFileNoPath(argv[i]));
}
getchar();
return 0;
}
0 0
- showFilesName.cpp
- cpp
- CPP
- CPP
- cpp
- cpp
- CPP
- CPP
- ClientSockThread.cpp&&ClientUrlThread.cpp
- cpp调用其他cpp
- ex34a.cpp&&ex34aDoc.cpp&&ex34aView.cpp
- MainFrm.cpp&&ServerThread.cpp&&SheetConfig.cpp
- CPP thread
- cpp->html
- CFaderWnd.cpp
- PasswordReminder.cpp
- object.cpp
- CmdTarget.cpp
- Jenkins进阶系列之——01使用email-ext替换Jenkins的默认邮件通知
- 旧的Eclipse迁移到Android Studio中碰到的图片iCCP问题解决
- Given a non-negative integer num, repeatedly add all its digits until the result has only one digit
- 怎样计算阶乘
- 调优JVM内存,并解决OutOfMemoryError,StackOverflowError等异常问题
- showFilesName.cpp
- hamilyjing:APP开发框架
- maven 项目(五) spring集成springMVC开发统一接入API--实现test接口
- 收集那些长诗-第一最好不相见
- swift分装的倒计时按钮
- java 数据集合(set、map、list)
- ::的类名前有个 & ,什么意思?
- android 通过uri获取bitmap图片并压缩
- Android Apk打包流程