当前位置:网站首页>电话溥功能
电话溥功能
2022-08-05 04:58:00 【小鸡岛~】
!!!!写好一个个具有完整功能的“能用”的程序,而非仅仅是那些“示例”程序!!!!
需求分析
- 添加电话信息
- 将电话信息保存
- 程序运行后,自动显示所有电话信息
- 用户可将电话信息导出备份
确定需求中的变量
- 保存文件:txt
- 保存方式:一行一条电话信息
- 交互方式: 命令行
因为交互方式需要不断的进行,所以需要用到循环语句;需要判断用户输入的字符是哪一个,所以需要用到判断语句;-ld path path代表要导入的电话簿的文件全名 -sa path。path代表要导出的电话簿的文件全名 -se,将信息保存到默认文件中,在执行文件目录下 -se,将信息保存到默认文件中,在执行文件目录下
确定需求中的功能
- 如何获取键盘输入?
- 如何读写文本文件?
边栏推荐
- u-boot中的u-boot,dm-pre-reloc
- 【转】什么是etcd
- The solution to the failure to read channel information when dedecms generates a message in the background
- 工业级远距离无线传输装置的功能有哪些?
- overloaded operator
- Dephi逆向工具Dede导出函数名MAP导入到IDA中
- flink读取mongodb数据源
- flink reads mongodb data source
- C++ core programming
- u-boot in u-boot, dm-pre-reloc
猜你喜欢

什么是ASEMI光伏二极管,光伏二极管的作用

flink reads mongodb data source

App rapid development and construction experience: the importance of small programs + custom plug-ins

Use IDEA to connect to TDengine server

Paparazzi: Surface Editing by way of Multi-View Image Processing

The solution to the failure to read channel information when dedecms generates a message in the background

开发属于自己的node包

Learning and finishing of probability theory 8: Geometric and hypergeometric distributions

Flutter learning 2-dart learning

C++ core programming
随机推荐
App rapid development and construction experience: the importance of small programs + custom plug-ins
No regrets, the appium automation environment is perfectly built
uboot开启调试打印信息
[informix] Resolving startup errors and solutions
bytebuffer internal structure
Cron(Crontab)--use/tutorial/example
2023年信息与通信工程国际会议(JCICE 2023)
LAB Semaphore Implementation Details
[Nine Lectures on Backpacks - 01 Backpack Problems]
Please write the SparkSQL statement
基于Web的商城后台管理系统的设计与实现
MySQL中控制导出文件后变为了\N有什么解决方案吗?
upload上传图片到腾讯云,如何上传图片
Shell(4) Conditional Control Statement
为什么刚考完PMP,就开始准备软考了?
数字孪生技术在电力系统中的应用现状
1068 Find More Coins
浅析主流跨端技术方案
Day14 jenkins deployment
Cryptography Series: PEM and PKCS7, PKCS8, PKCS12