当前位置:网站首页>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",
}
}
边栏推荐
猜你喜欢

Nodejs builds cloud native microservice applications based on dapr, a quick start guide from 0 to 1

网络性能评估工具 ping/mtr

NLP introduction + practice: Chapter 4: using pytorch to manually realize linear regression

Zero copy of network file transfer

Modify CSV

C language enumeration types and unions

聚势|海泰方圆亮相第五届数字中国建设峰会

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

NIO简易示例

"Yuanqi Cola" is not the end point, "China Cola" is
随机推荐
Easyrecovery15 data recovery software with high recovery rate and high download volume
Tutorial on principles and applications of database system (056) -- MySQL query (18): usage of other types of functions
Basic version of Google browser debugging tool (I)
Tutorial on principles and applications of database system (055) -- MySQL query (XVII): usage of mathematical functions
[secsha concept] large and small end
poj1521
Dijkstra 求最短路
Leetcode537. 复数乘法(可以,已解决)
Mysql_ Note2
数据库系统原理与应用教程(057)—— MySQL 练习题
Linked list related interview questions
Machine learning: Bayesian Networks
Practice sharing of monorepo based on yarn1.x
“蔚来杯“2022牛客暑期多校训练营2 D.[Link with Game Glitch] 二分答案+SPFA判环
格式化JS代码,调试JS代码
Docker高级篇-Mysql主从复制
[Unity] 二维洞穴地图随机生成
3059. Sculpture (jzoj)
Is it safe to open an account for stock speculation through the online account manager?
Tutorial on principles and applications of database system (053) -- MySQL query (XV): usage of character functions