当前位置:网站首页>Quickly create a topic folder
Quickly create a topic folder
2022-07-26 01:30:00 【HeartFireY】
Idle to be bored , So I wrote BAT, Used to create a topic folder .
@echo off
echo ICPC Contest Folder Environment Maker
set /p dir_name="Please input the folder name:"
md %dir_name%
echo %dir_name% has been created
cd %dir_name%
md complied
echo Creating code files...
FOR %%F IN (A B C D E F G H I J K L M N) DO cd.>%%F.cpp
set /p py_files_num="Please input the number of python files:"
if %py_files_num% == 0 (
echo Python files whill not be created!
) else (
md Python
echo Creating python script files...
cd Python
FOR /l %%F IN (1, 1, %py_files_num%) DO cd.>test%%F.py
)
echo Created Successfully! Enjoy yourself ^-^
Suggested vscode To configure : establish .vscode Folder , And create settings.json, Write content :
notes : At this time, the compiled files will be written centrally ./folder_name/complied/ Under the table of contents , Avoid messy phenomena .
{
"files.associations": {
"iostream": "cpp",
"unordered_map": "cpp",
"utility": "cpp",
"ostream": "cpp",
"algorithm": "cpp",
"atomic": "cpp",
"bit": "cpp",
"charconv": "cpp",
"chrono": "cpp",
"compare": "cpp",
"deque": "cpp",
"format": "cpp",
"fstream": "cpp",
"functional": "cpp",
"future": "cpp",
"limits": "cpp",
"list": "cpp",
"memory": "cpp",
"random": "cpp",
"ratio": "cpp",
"regex": "cpp",
"thread": "cpp",
"tuple": "cpp",
"vector": "cpp",
"xhash": "cpp",
"xlocnum": "cpp",
"xloctime": "cpp",
"xmemory": "cpp",
"xstring": "cpp",
"xtree": "cpp",
"xutility": "cpp",
"system_error": "cpp",
"xlocbuf": "cpp",
"xlocmon": "cpp",
"cctype": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"concepts": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"exception": "cpp",
"initializer_list": "cpp",
"ios": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"iterator": "cpp",
"new": "cpp",
"set": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"type_traits": "cpp",
"typeinfo": "cpp",
"xfacet": "cpp",
"xiosbase": "cpp",
"xlocale": "cpp",
"xlocinfo": "cpp",
"xstddef": "cpp",
"xtr1common": "cpp",
"string": "cpp",
"stack": "cpp",
"queue": "cpp",
"map": "cpp",
"iomanip": "cpp",
"*.rh": "cpp",
"complex": "cpp",
"condition_variable": "cpp",
"resumable": "cpp",
"forward_list": "cpp",
"mutex": "cpp",
"numeric": "cpp",
"optional": "cpp",
"sstream": "cpp",
"stop_token": "cpp",
"typeindex": "cpp",
"unordered_set": "cpp",
"valarray": "cpp",
"xlocmes": "cpp",
"array": "cpp",
"bitset": "cpp",
"cfenv": "cpp",
"cinttypes": "cpp",
"csetjmp": "cpp",
"csignal": "cpp",
"cstdarg": "cpp",
"cwctype": "cpp",
"coroutine": "cpp",
"locale": "cpp",
"scoped_allocator": "cpp"
},
"C_Cpp.errorSquiggles": "Enabled",
"code-runner.executorMap": {
"cpp": "cd $dir && g++ $fileName -o .\\complied\\$fileNameWithoutExt && .\\complied\\$fileNameWithoutExt",
}
}
边栏推荐
- Arthas watch 命令查看数组中对象的属性
- The second China rust developer conference is coming, and the complete agenda has been exposed!
- Zombie‘s Treasure Chest(枚举)
- 1.30 upgrade bin file, add suffix and file length
- Tutorial on the principle and application of database system (057) -- MySQL exercises
- 言语理解-片段阅读的结构剖析练习
- [Unity] 二维洞穴地图随机生成
- Prime Ring Problem
- Prime Ring Problem
- “蔚来杯“2022牛客暑期多校训练营2 K.[Link with Bracket Sequence I] 括号序列 DP
猜你喜欢

1.30 升级bin文件添加后缀及文件长度

机器学习:贝叶斯网络

Record a failure caused by a custom redis distributed lock

Arthas watch 命令查看数组中对象的属性

NLP introduction + practice: Chapter 3: gradient descent and back propagation

Introduction to API testing

Codisvsrediscluster: which cluster scheme should I choose?

Two stage submission and three stage submission

Detailed explanation of at and crontab commands of RHCE and deployment of Chrony

Half of the people in the country run in Changsha. Where do half of the people in Changsha run?
随机推荐
Format JS code and debug JS code
Game thinking 17: Road finding engine recast and detour learning II: recast navigation grid generation process and limitations
Dot screen precautions
PtGui pro12 vertical line correction
Tutorial on principles and applications of database system (054) -- MySQL query (16): usage of date time function
Pycharm automatically adds header comments when creating py files
iNFTnews | 假如这是元宇宙20年后的样子
Web middleware log analysis script 3.0 (shell script)
Is it safe to open an account for stock speculation through the online account manager?
NLP introduction + practice: Chapter 3: gradient descent and back propagation
Tencent employees' salary: the real 985 graduation salary, do you think I can be saved? Netizen: daily salary?
Ideal Path(UVA - 1599)
B - Krypton Factor (dfs+ backtracking method)
Record a failure caused by a custom redis distributed lock
EasyRecovery15下载量高的恢复率高的数据恢复软件
C language enumeration types and unions
NiO simple example
Codeforces Round #810 (Div. 2)A~C
Google gson usage details
[software development specification III] [software version naming Specification]