实验任务三 #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <iostream> #include<cmath> using namespace std; class Complex { public: Complex():real(0),imag( ...
转载 2021-10-22 20:37:00
24阅读
2评论
实验任务三 #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <iostream> #include<cmath> using namespace std; class Complex { public: Complex():real(0),imag( ...
转载 2021-10-22 20:37:00
43阅读
2评论
#ifndef COMPLEX_HPP #define COMPLEX_HPP #include<iostream> #include<cmath> using namespace std; class Complex{ public: Complex(); Complex(double a); C ...
转载 2021-10-22 23:11:00
21阅读
2评论
实验任务三 #include "Complex.hpp" #include <iostream> int main() { using namespace std; Complex c1(3, 5); const Complex c2(2.4); Complex c3(c1); cout << "c ...
转载 2021-10-23 19:22:00
40阅读
2评论
#ifndef COMPLEX_HPP #define COMPLEX_HPP #include<iostream> #include<cmath> using namespace std; class Complex { private: double real; double imag; pub ...
转载 2021-10-25 20:21:00
26阅读
2评论
#include<stdio.h> int main() { double x,y; char c1,c2,c3; int a1,a2,a3; scanf("%d%d%d",&a1,&a2,&a3); printf("%d,%d,%d\n",a1,a2,a3); scanf("%c%c%c",&c1 ...
转载 2021-10-28 14:29:00
103阅读
2评论
#include<stdio.h> int main() { printf(" O\n"); printf("<H>\n"); printf("I I\n"); printf("\n"); printf(" O\n"); printf("<H>\n"); printf("I I\n"); retur ...
转载 2021-10-28 19:44:00
102阅读
2评论
#include<stdio.h> int main() { printf(" o o \n" " <H> <H> \n" " I I I I \n"); return 0; } #include<stdio.h> int main() { printf(" o \n" " <H>\n" " I I ...
转载 2021-10-29 08:58:00
65阅读
2评论
#include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf(" I I\n"); printf(" O \n"); printf("<H>\n"); printf(" I I\n"); return 0; } #i ...
转载 2021-11-01 23:58:00
87阅读
2评论
**准备工作**实验内容:高可用haproxy实现动静分离,并加入varnish提供静态缓存,由NFS提供资源。设置两台虚拟主机,分别为www.tz.com(提供wordpress),bbs.tz.com(提供discuz)(注:由于虚拟机有限,暂没有考虑session问题)实验环境:CentOS 7准备工作:vip:172.16.61.9(www.tz.com) 172.16.61.1
原创 2016-03-09 23:29:21
940阅读
Task3: Complex.hpp #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double m_real=0,double m_imag=0):real(m_rea ...
转载 2021-10-23 10:00:00
34阅读
2评论
task3 //Complex.hpp #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <iostream> #include <cmath> using namespace std; class Complex { public: Complex( ...
转载 2021-10-23 00:36:00
38阅读
2评论
实验结论 实验3:自定义Complex类 Complex.hpp 1 // Complex.hpp 2 #pragma once 3 #include <iostream> 4 #include <cmath> 5 6 class Complex 7 { 8 private: 9 double re ...
转载 2021-10-22 19:17:00
51阅读
2评论
complex.h #include "complex.h" #include <iostream> int main() { using namespace std; complex c1(3, -4); const complex c2(4.5); complex c3(c1); cout << ...
转载 2021-10-20 23:53:00
37阅读
2评论
实验2 1)d命令查看的对应内存存储内容的截图 2)使用e命令修改对应内存空间以及再次使用d命令查看内存空间情况的截图 结论:该段内存不可以被修改。原因如下:地址段 C0000至地址FFFFF地址段为各类ROM地址空间,对其进行写入操作是无效的,因为ROM为只读存储器。 实验3 1)e命令修改内存空 ...
转载 2021-10-20 21:34:00
130阅读
2评论
using System; class HelloWorld{ public static void Main(){ Console.WriteLine("hello world"); } } ...
转载 2021-10-21 22:22:00
41阅读
2评论
实验二 结论:不可更改,ROM只读 实验实验四 sp的变化:0030 002e 002c 002a 0028 002a 002c 002e 问题: 逻辑地址:0020h:0030h 物理地址:00230h 问题二: 问题三: (4) 实验五 问题: 并没有停止,Debug的T命令在执行修改寄 ...
转载 2021-10-24 13:23:00
36阅读
2评论
任务3 Complex.hpp #ifndef COMPLEX_H #define COMPLEX_H #include<iostream> #include<cmath> class Complex { public: Complex(double i = 0, double j = 0) :a{ ...
转载 2021-10-23 17:07:00
47阅读
2评论
#ifndef COMPLEX_HPP#define COMPLEX_HPP#include <iostream>#include <math.h>class Complex{ public: Complex():real(0.0),imag(0.0){} Complex(int r,int i): ...
转载 2021-10-26 18:57:00
65阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5