摘要: p2 #include <iostream> #include <fstream> #include <string> #include <cstdlib> using namespace std; int main() { char filename1[10], filename2[10], ne 阅读全文
posted @ 2019-06-18 12:43 Sora5934 阅读(146) 评论(0) 推荐(0)
摘要: part2: #ifndef GRAPH_H#define GRAPH_H class Graph {public: Graph(char ch, int n); void draw();private: char symbol; int size;}; #endif Graph.h #includ 阅读全文
posted @ 2019-04-23 23:38 Sora5934 阅读(140) 评论(0) 推荐(0)
摘要: #include<iostream>#include<cmath>using namespace std;class Complex {public: Complex(double A = 0, double B = 0); Complex(Complex &c2); void add(Comple 阅读全文
posted @ 2019-04-02 23:47 Sora5934 阅读(163) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;struct complex { double real; double imaginary;};int add(int a, int b){ return a + b;}double add(double a, doubl 阅读全文
posted @ 2019-03-26 23:41 Sora5934 阅读(84) 评论(5) 推荐(0)
摘要: 2-28: #include <iostream>using namespace std;int name(){ char n; cout << "Menu:A(dd) D(elete) S(ort) Q(uit),Select one:" << endl; cin >> ; while (n != 阅读全文
posted @ 2019-03-19 22:56 Sora5934 阅读(233) 评论(2) 推荐(0)