您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. 复数乘法中的结构体赋值实现代码

  2. 复数乘法中的结构体赋值实现代码。需要的朋友可以过来参考下,希望对大家有所帮助
  3. 所属分类:其它

    • 发布日期:2020-09-04
    • 文件大小:20480
    • 提供者:weixin_38502292
  1. 复数乘法中的结构体赋值实现代码

  2. 废话不多说,直接上代码 代码如下:#include using namespace std; typedef struct{ double real; double imag;} complex; //复数乘法complex X_complex(complex a, complex b){ complex temp;  temp.real = a.real * b.real – a.imag * b.imag; temp.imag = b.imag * a.real + a.imag * b.r
  3. 所属分类:其它

    • 发布日期:2020-12-31
    • 文件大小:29696
    • 提供者:weixin_38571453