摘要:
task3_1.cpp #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x{97, 98, 99, 100, 101
閱讀全文
摘要:
task4 pets.hpp #pragma once #include <iostream> #include <string> using namespace std; using std::string; class MachinePets { public: MachinePets(cons
閱讀全文
摘要:
#pragma once #include <iostream> #include <algorithm> using namespace std; class vectorInt { public: vectorInt(int len) : length{len} { cout << "const
閱讀全文
摘要:
#include <iostream> #include <algorithm> #include <math.h> #include <string> using namespace std; class Info { public: Info(string nickname, string co
閱讀全文
摘要:
#include "complex.hpp" #include <iostream> void test() { using namespace std; Complex c1(6, 6); const Complex c2(6); Complex c3(c1); cout << "c1 = ";
閱讀全文
摘要:
#include <iostream> #include <algorithm> #include <vector> using namespace std; int main() { string s1; string s2{"c plus plus"}; string s3{s2}; strin
閱讀全文
摘要:
#include <iostream> using namespace std; int main() { cout << "http://www.rzrgm.cn/cflxl/" << endl; return 0; }
閱讀全文