摘要:
#include<iostream> using namespace std; #include<string> class mother { public: mother() { cout << "mother\n"; } }; class daughter : public mother { p 阅读全文
摘要:
#include <iostream> using namespace std; #include<cmath> #include"time_user.h" class point { private: int x, y, z; public: void set() { cin >> x >> y 阅读全文
摘要:
#include<iostream> using namespace std; #include<string> class mother { public: mother() { cout << "mother\n"; } }; class daughter : public mother { p 阅读全文
摘要:
#include<iostream> using namespace std; #include<string> class date { public: date(void); date(int y, int m, int d); ~date(void); void displayDate(); 阅读全文
摘要:
问题描述:N个有序数数列已放在一维数组中,利用二分查找法找整数m在数组中的位置,若找到,则输出其下标值;反之,则输出“Not be found!". 完整程序: #include<stdio.h> #define N 10 main() { int i,a[N]={-3,4,7,9,13,45,67 阅读全文