单项选择题
ISO标准定义的网络管理功能中,()的功能包括初始化被管理对象和更改系统配置等。
A.配置管理
B.故障管理
C.性能管理
D.安全管理
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
未分类题
阅读以下程序说明和C++程序,将程序段中(1)~(5)空缺处的语句填写完整。 【说明】 以下【C++程序】实现一个简单的小型复数类MiniComplex,该复数类能进行输入、输出、复数的加法、减法、乘法和除法运算,还可以进行复数的相等比较。【C++程序】ifndef H_MiniComplexdefine H_MiniComplexinclude <iostream>using namespace std;class MiniComplex{ public: 重载流插入和提取运算符 (1) ostream&operator<<(ostream &osObject,const MiniComplex&complex){ osObject<<'('<<complex.realPart<<'+'<<complex.imagPart<<'i'<<')'; return osObject; } (2) istream&operator>>(istream&isObject, MiniComplex&complex){ char ch; isObject >>complex.realPart>>ch>>complex.imagPart>>ch; return isObject; } MiniComplex(double real=0,double imag=0); 构造函数 MiniComplex operator+(const MiniComplex&otherComplex)const; 重载运算符+ MiniComplex operator-(const MiniComplex&otherComplex)const; 重载运算符- MiniComplex operator*(const MiniComplex&otherComplex)const; 重载运算符* MiniComplex operator (const MiniComplex&otherComplex)const; 重载运算符 bool perator==(const MiniComplex&otherComplex)const; 重载运算符== private : double (3); double imagPart;};end ifinclude 'MiniComplex.h'bool MiniComplex::operator==(const MiniComplex&otherComplex)const{ return(realPart==otherComplex.realPart&&imagPart==ortherComplex.imagPart);}MiniComplex::MiniComplex(double real,double imag){ realPart== real; imagPart==imagPart;}MiniComplex MiniComplex::operator+(const MiniComplex&otherComplex)const{ MiniComplex temp; temp.realPart = realPart+ortherComplex. realPart; temp.imagPart = imagPart +ortherComplex. imagPart; return temp;} (4) { MiniComplex temp; temp.realPart= realPart-ortherComplex. realPart; temp.imagPart = imagPart-ortherComplex. imagPart; return temp;}MiniComplex MiniComplex::operator*(const MiniComplex&otherComplex)const{ MiniComplex temp; temp.realPart = (realPart*ortherComplex. realPart)-(imagPart *ortherComplex.imagPart); temp.imagPart = (realPart*ortherComplex. imagPart)+(imagPart *ortherComplex.realPart); return temp;}MiniComplex MiniComplex::operator (const MiniComplex&otherComplex)const{ MiniComplex temp; float tt; tt=1 (ortherComplex.realPart*ortherComplex.realPart+ortherComplex.imagPart *ortherComplex. imagPart); temp.realPart=((realPart*ortherComplex, realPart)+(imagPart *ortherComplex. imagPart))*tt; temp.imagPart =((imagPart *ortherComplex. realPart)-(realPart*ortherComplex. imagPart))*tt; return temp;}include <iostream>include <MiniComplex.h>using namespace std;int main(){ MiniComplex numl(23, 34),num2(56, 35); cout<<'Initial Value of num1='<<num1<<' n Initial Value of num2='<<num2<<end1; cout<<num1<<'+'<<num2<<'='<<num1+num2<<end1; 使用重载的加号运算符 cout<<num1<<'-'<<num2<<'='<<num
点击查看答案
问答题
某企业有关资料如下:(1)期末资产总额10万元;(2)期末权益乘数为2;(3)期末流动比率3,速动比率1.5;(4)期末流动负债5000元;本期平均应收账款20000元;(5)本期净利润10000元;所得税率50%;(6)本期销售成本为75000元;销售净利率10%;(7)负债的平均利率10%。(8)期末存货等于期初存货。要求:根据上述资料计算下列指标:(1)应收账款周转天数;(2)存货周转天数;(3)已获利息倍数。
点击查看答案
相关试题
当使用魔棒工具选择图像时,在“容差”数值...
在拼合图层时,会将暂不显示的图层全部删除...
显示与隐藏参考线快捷键是Ctrl+H()
采用该战略有可能面临哪些障碍?如何解决?
From this passage we can learn tha...