11 2021 档案

摘要:源程序: #include <iostream>using namespace std; class myComplex{private: double real,imag;public: myComplex(); myComplex(double r,double i); myComplex &o 阅读全文
posted @ 2021-11-29 19:19 bobo哥 阅读(184) 评论(0) 推荐(0) 编辑
摘要:源程序: #include <iostream>using namespace std; class myComplex{private: double real, imag;public: myComplex(); myComplex(double r, double i); void outCo 阅读全文
posted @ 2021-11-28 11:18 bobo哥 阅读(62) 评论(0) 推荐(0) 编辑
摘要:源程序: #include <iostream>using namespace std; class A{private: int x; const int y;public: A(int a, int b):x(a),y(b) //常变量必须在初始化列表中被初始化 { } void show() 阅读全文
posted @ 2021-11-28 10:28 bobo哥 阅读(35) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>using namespace std; class A{private: int a, b;public: A(int aa, int bb) { a = aa--; b = a*bb; } void show() { cout << "a=" << a << 阅读全文
posted @ 2021-11-28 10:17 bobo哥 阅读(15) 评论(0) 推荐(0) 编辑
摘要:源程序: #include <iostream>using namespace std; class myComplex{private: double real, imag;public: myComplex(); myComplex(double r, double i); myComplex 阅读全文
posted @ 2021-11-28 09:39 bobo哥 阅读(43) 评论(0) 推荐(0) 编辑
摘要:源程序: #include <iostream>#include <cmath>using namespace std; class Pixel;class Test{public: void printX(Pixel p);}; class Pixel{private: int x,y;publi 阅读全文
posted @ 2021-11-28 08:11 bobo哥 阅读(34) 评论(0) 推荐(0) 编辑
摘要:网络图: 左边路由器的配置: 右侧路由器的配置: 启动simulation(模拟)可以看到数据包的移动 ping通图: 阅读全文
posted @ 2021-11-26 13:42 bobo哥 阅读(306) 评论(0) 推荐(0) 编辑
摘要:源程序: #include <iostream>#include <cmath>using namespace std; class A{private: const int a;public: A(int x) { a=x; } void show() { cout<<"a="<<a<<endl; 阅读全文
posted @ 2021-11-22 20:22 bobo哥 阅读(53) 评论(0) 推荐(0) 编辑
摘要:源程序: #include <iostream>#include <string>using namespace std; class student{private: int num; string sname;public: student() { } student(int n,string 阅读全文
posted @ 2021-11-15 20:17 bobo哥 阅读(48) 评论(0) 推荐(0) 编辑
摘要:请打开MySQL 5.0完成以下题目,把所建立的数据库文件(*.mdf,*.ldf)分离后复制到考生文件夹中;如果要求写出SQL语句,请把SQL窗口及运行结果截屏保存(命名为2_x.jpg,x是代表小题题号)并复制到考生文件夹中: 创建数据库exam+考号,如考号为123410001,则数据库名为e 阅读全文
posted @ 2021-11-05 13:44 bobo哥 阅读(137) 评论(0) 推荐(0) 编辑
摘要:问题:公司有一个c类网址102.16.202.133,子网掩码为255.255.255.0。公司有4个部门:财务部、研发部、销售部和人力资源部。 要求划分4个子网。 255.255.255.0 二进制为: 11111111 11111111 11111111 00000000 若划分4个子网,需从主 阅读全文
posted @ 2021-11-05 13:30 bobo哥 阅读(1809) 评论(0) 推荐(0) 编辑
摘要:源程序: #include <iostream>#include <string>using namespace std; class myDate{private: int year,month,day;public: myDate() { year=1970; month=1; day=1; } 阅读全文
posted @ 2021-11-02 08:44 bobo哥 阅读(87) 评论(0) 推荐(0) 编辑