c++电话本程序
来源:互联网 发布:单片机步进电机 编辑:程序博客网 时间:2024/06/01 17:10
电话本的功能在menu菜单里完全体现了:
cout <<"这是一个电话本程序,可以执行以下操作:" <<endl;
- #include"iostream"
- #include"cstdlib"
- #include"string"
- #include"fstream"
- #include"utility"
- #include"vector"
- #include"windows.h"
- using namespacestd;
-
- class number
- {
- private:
-
-
- public:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
cout << " -
-
cout << " -
-
-
-
-
-
-
-
-
- };
-
- voidnumber::search(string s)
- {
-
ifstreamfin(" -
-
cout << " -
-
-
-
-
-
-
-
-
-
-
-
-
-
cout << s <<" -
-
cout <<" -
-
- }
-
- voidnumber::add()
- {
-
ofstreamfout(" -
-
-
cout << " -
-
if ((f = fopen(" -
-
-
ofstreamfout(" -
-
-
cout <<" -
-
-
- }
-
- voidnumber::copy()
- {
-
-
cout <<" -
-
-
-
-
-
-
-
ofstreamfout(" -
-
-
-
- }
-
- void number::del(strings)
- {
-
-
-
ifstreamfin(" -
-
-
-
-
-
-
ofstreamfout(" -
-
-
-
- }
-
- void number::show(stringstr)
- {
-
-
-
cout << " -
-
-
-
-
-
-
-
-
-
- }
-
- char menu()
- {
-
-
-
cout <<" -
cout <<"1-> -
cout <<"2-> -
cout <<"3-> -
cout <<"4-> -
cout <<"5-> -
cout <<"6-> -
cout <<"7-> -
cout <<"0-> -
-
- }
- int main()
- {
-
-
-
-
-
-
-
-
cout << " -
-
-
-
-
-
-
-
-
-
-
cout << " -
-
-
-
-
n.show(" -
-
-
-
-
-
-
cout << " -
-
-
-
-
-
-
-
-
-
-
-
cout<<" -
-
-
-
-
-
- }
0 0
- C++电话本程序
- 用链表写一个电话本程序
- 简单电话本程序
- c++电话本程序
- 电话本小程序
- C#-电话本-Console App---ShinePans
- C语言编写一个电话本
- 电话本
- 电话本
- 电话本
- 电话本
- 电话本
- 上文中RSA电话本JAVA程序源代码
- 使用Map集合写电话本程序
- C语言 用链表实现电话本的功能
- .CSV格式电话本转UT斯达康小灵通电话本.utpb格式程序源代码
- 使用Rational Software Architect设计一个电话本程序
- ch2:用wxODBC写的一个简单的电话本程序
- Warning - bad CRC, using default environment
- C++求积分代码
- 深入JVM字节码执行引擎
- KMP算法求next数组和nextval…
- 分治与递归——循环赛日程表
- c++电话本程序
- 部分背包问题-贪心法源码
- Case函数的使用及注意点
- 昂贵的聘礼(坑爹的枚举+bellmanford)
- 【转】SWAP函数的几种写法
- c++任意数循环赛另一种递归实现方…
- utf8与gb2313的区别
- 51单片机电子琴C代码
- 51单片机-播放天空之城