上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 54 下一页
该文被密码保护。 阅读全文
posted @ 2020-06-08 13:23 bobo哥 阅读(0) 评论(0) 推荐(0)
摘要: 头文件1:define_class.h #pragma once#if!defined(define_class_H)#define define_class_h#include <iostream>#include <cmath>using namespace std; //定义坐标点类class 阅读全文
posted @ 2020-06-08 13:13 bobo哥 阅读(209) 评论(0) 推荐(0)
摘要: // ConsoleApplication8.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include <stdio.h>#include <stdlib.h>#define MaxSize 50typedef char DataType;typedef str 阅读全文
posted @ 2020-06-06 20:06 bobo哥 阅读(822) 评论(0) 推荐(0)
摘要: 源程序: #include <iostream>#include <cmath>#define PI 3.1415926using namespace std; class Geometry{public: Geometry() {}; ~Geometry() {}; virtual double 阅读全文
posted @ 2020-02-08 15:14 bobo哥 阅读(190) 评论(0) 推荐(0)
摘要: 源程序: #include <iostream>#include <string>#include <cstdlib>using namespace std;class point{private: double x, y;public: point() {}; point(double a, do 阅读全文
posted @ 2020-02-08 11:20 bobo哥 阅读(186) 评论(0) 推荐(0)
摘要: 源程序: #include <iostream>#include <iomanip>using namespace std; class myComplex{private: double real, imag;public: myComplex(); myComplex(double r,doub 阅读全文
posted @ 2020-02-08 10:37 bobo哥 阅读(182) 评论(0) 推荐(0)
摘要: 源程序: #include <iostream>using namespace std; class pointer{public: int a; int *p; pointer() { a = 100; p = new int(10); } pointer(const pointer &tempp 阅读全文
posted @ 2020-02-08 09:31 bobo哥 阅读(166) 评论(0) 推荐(0)
摘要: 源程序: #include <iostream>using namespace std; class pointer{public: int a; int *p; pointer() { a = 100; p = new int(10); } pointer(const pointer &tempp 阅读全文
posted @ 2020-02-08 09:22 bobo哥 阅读(177) 评论(0) 推荐(0)
摘要: 源程序: #include <iostream>using namespace std; class myComplex{public: int real, imag; myComplex(int r = 0, int i = 0) { real = r; imag = i; }};myComple 阅读全文
posted @ 2020-02-08 09:15 bobo哥 阅读(177) 评论(0) 推荐(0)
摘要: 源程序: #include <iostream>using namespace std; class myComplex{ double real, imag;public: myComplex(double r = 0, double i = 0) :real(r), imag(i) {} ope 阅读全文
posted @ 2020-02-08 09:04 bobo哥 阅读(149) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 54 下一页