当前位置:网站首页>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",
}
}
边栏推荐
- [go] how to control the maximum number of concurrent processes
- 3059. 雕塑(jzoj)
- [secsha concept] original reverse supplement
- NLP introduction + practice: Chapter 3: gradient descent and back propagation
- Tutorial on principles and applications of database system (053) -- MySQL query (XV): usage of character functions
- Linked list related interview questions
- 光纤通信中信号劣化的原因
- Docker advanced -mysql master-slave replication
- “蔚来杯“2022牛客暑期多校训练营2 个人题解集合
- Two stage submission and three stage submission
猜你喜欢

《分布式微服务电商》专题(一)-项目简介
![[Unity] 二维洞穴地图随机生成](/img/ec/7433f6e942fc3d0b03cac37ac87e7b.png)
[Unity] 二维洞穴地图随机生成

Introduction to API testing

Prime Ring Problem

健身房一年关店8000家,逆势盈利的工作室是怎么开的?

The best way to practice Animation: cover transition

机器学习:贝叶斯网络

Browser development and use skills

Mulda: a multilingual data augmentation framework for low resource cross linguistic ner reading notes

U++ learning notes ustruct, uenum declaration and function library simple function implementation
随机推荐
Easyrecovery15 data recovery software with high recovery rate and high download volume
[software development specification II] prohibited item development specification
全国一半人跑长沙,长沙一半人跑哪?
Mysql_ Note1
“蔚来杯“2022牛客暑期多校训练营2 个人题解集合
What are the ways to quickly improve programming skills in the process of programming learning?
Oracle is nested at multiple levels, and the alias problem of the table cannot be found
Spark-SQL中根据年月日显示周几用date_format(date,‘u‘)
当博客被黑客攻击时该怎么办?
Machine learning: Bayesian Networks
Nodejs builds cloud native microservice applications based on dapr, a quick start guide from 0 to 1
Paged query design of scenarios
Browser development and use skills
Web middleware log analysis script 3.0 (shell script)
Detailed explanation of at and crontab commands of RHCE and deployment of Chrony
Pycharm automatically adds header comments when creating py files
B - Krypton Factor (dfs+ backtracking method)
【数据挖掘】生成模型和判别模型的区别及优缺点
华为无线设备WDS配置命令
Kubernetes pod start process