当前位置:网站首页>电话溥功能
电话溥功能
2022-08-05 04:58:00 【小鸡岛~】
!!!!写好一个个具有完整功能的“能用”的程序,而非仅仅是那些“示例”程序!!!!
需求分析
- 添加电话信息
- 将电话信息保存
- 程序运行后,自动显示所有电话信息
- 用户可将电话信息导出备份
确定需求中的变量
- 保存文件:txt
- 保存方式:一行一条电话信息
- 交互方式: 命令行
因为交互方式需要不断的进行,所以需要用到循环语句;需要判断用户输入的字符是哪一个,所以需要用到判断语句;-ld path path代表要导入的电话簿的文件全名 -sa path。path代表要导出的电话簿的文件全名 -se,将信息保存到默认文件中,在执行文件目录下 -se,将信息保存到默认文件中,在执行文件目录下
确定需求中的功能
- 如何获取键盘输入?
- 如何读写文本文件?
边栏推荐
- Some conventional routines of program development (1)
- mysql数据库表什么字段类型的存储长度最大?
- 程序开发的一些常规套路(一)
- 延迟加载js方式async与defer区别
- Use IDEA to connect to TDengine server
- upload upload pictures to Tencent cloud, how to upload pictures
- C++ core programming
- Flutter TapGestureRecognizer 如何工作
- Day019 Method overriding and introduction of related classes
- Mysql's redo log detailed explanation
猜你喜欢
【转】什么是etcd
Detailed explanation of each module of ansible
[CISCN2019 South China Division]Web11
How can Flutter parent and child components receive click events
Please write the SparkSQL statement
Excel Paint
Four-digit display header design
flink reads mongodb data source
请写出SparkSQL语句
【cesium】加载并定位 3D Tileset
随机推荐
u-boot in u-boot, dm-pre-reloc
Detailed explanation of Mysql's undo log
浅析主流跨端技术方案
Mysql的undo log详解
数字_获取指定位数的小数
Flutter学习2-dart学习
What is ASEMI photovoltaic diode, the role of photovoltaic diode
Analyses the mainstream across technology solutions
[Nine Lectures on Backpacks - 01 Backpack Problems]
Cron(Crontab)--使用/教程/实例
C#关于set()和get()方法的理解及使用
Day14 jenkins deployment
Learning and finishing of probability theory 8: Geometric and hypergeometric distributions
4T硬盘剩余很多提示“No space left on device“磁盘空间不足
How to deal with DNS hijacking?
The production method of the powered small sailboat is simple, the production method of the electric small sailboat
使用IDEA连接TDengine服务器
淘宝账号如何快速提升到更高等级
dedecms error The each() function is deprecated
how to measure distance from point to face in creo