摘要:
#include<iostream> #include<string> using namespace std; class Person{ public: Person(){}; Person(string n, string t, string e = ""): name(n), telepho 阅读全文
摘要:
#include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an interfac 阅读全文
摘要:
#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 阅读全文
摘要:
#ifndef INFO_HPP #define INFO_HPP #include<string> #include<iostream> using namespace std; class info{ public: info(string na,string co,string ci,int 阅读全文