会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yxg208
博客园
首页
新随笔
联系
订阅
管理
2021年12月
实验五
摘要: #include<iostream> #include<string> using namespace std; class Person{ public: Person(){}; Person(string n, string t, string e = ""): name(n), telepho
阅读全文
posted @ 2021-12-15 11:17 yxg208
阅读(21)
评论(3)
推荐(0)
2021年11月
实验四
摘要: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an interfac
阅读全文
posted @ 2021-11-30 15:26 yxg208
阅读(55)
评论(3)
推荐(0)
实验三
摘要: #include"vector_int.hpp" int main(){ using namespace std; int n=5; Vector_int x(n); Vector_int k(n, 6); Vector_int y(k); y.at(0)=999; cout<<y.at(0)<<e
阅读全文
posted @ 2021-11-09 20:27 yxg208
阅读(21)
评论(3)
推荐(0)
实验二
摘要: #ifndef INFO_HPP #define INFO_HPP #include<string> #include<iostream> using namespace std; class info{ public: info(string na,string co,string ci,int
阅读全文
posted @ 2021-11-03 12:22 yxg208
阅读(16)
评论(3)
推荐(0)
2021年10月
实验一
摘要: #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):
阅读全文
posted @ 2021-10-26 18:57 yxg208
阅读(45)
评论(3)
推荐(0)
公告