完善目录结构
完善了目录结构,添加了以前的web段com组件调用的代码(在/测试目录下)(部署没有使用到)
This commit is contained in:
19
测试/单独功能测试/0-DLL测试(实际没有部署)/dll-goal无数据库/CreatePath.cpp
Normal file
19
测试/单独功能测试/0-DLL测试(实际没有部署)/dll-goal无数据库/CreatePath.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
/**
|
||||
根据学生信息创建文件路径,用于文件读取
|
||||
|
||||
@变量 date 考试日期
|
||||
@变量 subject 考试科目
|
||||
@变量 stuNum 考号
|
||||
@返回值 返回生成的文件路径
|
||||
*/
|
||||
string CrPath(string date, string subject, string stuNum)
|
||||
{
|
||||
string temp = "Z:/"; temp += date; temp += "/";
|
||||
temp += subject.substr(0, 4); temp += "/";
|
||||
temp += stuNum; temp += ".jpg";
|
||||
|
||||
return temp;
|
||||
}
|
||||
Reference in New Issue
Block a user