ICode9

精准搜索请尝试: 精确搜索
  • 化学新教材 - 必修2022-08-08 13:35:30

    第一章 物质及其变化 一、物质的分类及转化 (1) 物质的分类 1. 根据物质的组成和性质分类 2. 分散系及其分类 (2) 物质的转化 1. 酸、碱、盐的性质 2. 物质的转化 二、离子反应 (1) 电解质的电离 (2) 离子反应 三、氧化还原反应 (1) 氧化还原反应 (2) 氧化剂和还原剂 第二章 海水

  • 5心得体会32022-01-04 14:31:01

    小学数学教材解读的心得体会 延安市新区第一小学  王彩霞       参加了小学数学教材解读,从中感觉到,新教材更注重数学与生活的联系,更重学生个性的发展,强调不同的学生学习不同的数学,使每个学生都能有进步。但实际怎样操作,怎样把握新教材心里却没底。可是,听了领导和老师们的讲

  • 自考新教材p141-42021-11-28 10:32:57

    #include <iostream>using namespace std; class A{private: int a, b;public: A(int aa, int bb) { a = aa--; b = a*bb; } void show() { cout << "a=" << a << ", b=" << b << endl; }};int main(){ A x(4, 5)

  • 自考新教材p1322021-11-28 10:03:51

    源程序: #include <iostream>using namespace std; class myComplex{private: double real, imag;public: myComplex(); myComplex(double r, double i); myComplex addCom(myComplex c); void outCom();}; myComplex::myComplex(){ real = 0; imag = 0;}myComplex::myComp

  • 自考新教材-p145_62020-02-06 20:03:46

    源程序: #include <iostream>using namespace std; class A{ int a, b;public: A(int x = 0, int y = 0) { a = x; b = y; }};int main(){ A *p; p = new A(4,5); system("pause"); return 1;} 运行结果:  

  • 自考新教材-p144_42020-02-06 19:53:08

    源程序: #include <iostream>using namespace std; class Test{private: static int num;public: Test(int); void show();};int Test::num = 5;Test::Test(int n){ num = n;}void Test::show(){ cout << num << endl;}int main(){ Test t(10); t.show(); syst

  • 自考新教材-p90_5(4)2020-02-06 19:01:00

    源程序: #include <iostream>#define PI 3.1415926using namespace std; class Cylinder{private: double r, h;public: Cylinder(double rr, double hh) { r = rr; h = hh; } double circle_length() { return 2 * PI*r; } double circle_area() { return PI*r*r; } d

  • 自考新教材-p88_4(2)2020-02-06 15:00:58

    源程序: #include <iostream>using namespace std;class Test{ int a, b; int getmin() { return (a < b) ? a : b; }public: int c; void setValue(int x1, int x2, int x3) { a = x1; b = x2; c = x3; } int GetMin();};int Test::GetMin(){ int d = getmin(); re

  • 自考新教材-p58_3(1)2020-02-06 14:01:23

    源程序: #include <iostream>using namespace std;void func(int a, int b, int c = 0){ cout << a << b << c << endl;}int main(){ func(5,9); system("pause"); return 1;} 运行结果:  

  • 自考新教材-p352_32020-02-06 10:04:04

    源程序: #include <iostream>#define N 10using namespace std; template <typename T> T sum_array(T a[], int n){ int i,size; T sum=0; cout << "您想求数组前几项的和,请输入:"; cin >> size; for (i = 0; i < size; i++) { sum = sum + a[i]; } r

  • 自考新教材-p3342020-02-05 20:51:31

    源程序: #include <iostream>#include <string>using namespace std;template <typename T>int myCompare(const T& left, const T& right){ if (left<right) { return-1; } else if (right<left) { return 1; } else return 0;}template<c

  • 自考新教材-p328_5(1)2020-02-05 19:51:55

    源程序: #include <iostream>#include <fstream>using namespace std; class triangle{private: int a, b, c; double area;public: triangle(int aa, int bb, int cc) { a = aa; b = bb; c = cc; } double triangle_area() { int l = (a + b + c) / 2; area =

  • 自考新教材-p3132020-02-05 13:56:08

    源程序: #include<iostream>#include<fstream>using namespace std;class CStudent{public: char id[11]; char name[21]; int score;};int main(){ CStudent stu; ofstream outFile("c:\\tmp\\students.dat", ios::out | ios::binary); if (!outFile)

  • 自考新教材-p3062020-02-05 13:00:34

    源程序: #include <iostream>#include <fstream>using namespace std;int main(){ ifstream inFile; inFile.open("c:\\tmp\\test.txt", ios::in); //以读的方式打开文本文件 if (inFile) //打开成功,inFile值为true { cout << "成功打开文件:c:\\t

  • 自考新教材-p272_32020-02-04 23:00:17

    源程序: #include <iostream>using namespace std; class Base{public: virtual void display() = 0; };class Derived1 :public Base{public: void display() { cout << "Derived1 called" << endl; }}; class Derived2 :public Base{public: void

  • 自考新教材-p272_22020-02-04 22:52:31

    源程序: #include <iostream>using namespace std; class Bas{public: ~Bas() { cout << "Bas析构函数" << endl; } virtual void f() = 0;}; class Dev :public Bas{public: ~Dev() { cout << "Dev析构函数" << endl; } virtual vo

  • 自考新教材-p271_12020-02-04 21:52:05

    源程序: #include <iostream>using namespace std; class A{public: int i; virtual void func() { cout << "A0" << endl; } virtual void func2() { cout << "A1" << endl; } virtual void func3() { cout << &quo

  • 自考新教材-p240_22020-02-04 20:03:56

    源程序: #include <iostream>using namespace std; class Base{private: int radius, width;public: Base() { cout << "Base默认构造函数" << endl; } Base(int r, int w) :radius(r), width(w) { cout << "Base带2个参数的构造函数" << e

  • 自考新教材-p2162020-02-04 18:07:50

    源程序: #include<iostream>using namespace std; class CBase{public: CBase() {} CBase(CBase &c) { cout << "CBase::复制构造函数" << endl; } CBase & operator=(const CBase & b) { cout << "CBase::operator=" <&

  • 自考新教材-p2172020-02-04 18:01:24

    源程序: #include<iostream>using namespace std; class BaseClass1{protected: int v1, v2;public: BaseClass1(); BaseClass1(int, int); ~BaseClass1(); void SetValue(int, int); void PrintValue();}; BaseClass1::BaseClass1() :v1(0), v2(0){ cout << "B

  • 自考新教材-p1802020-02-04 14:58:18

    源程序: //基类与子类占用空间及字节对齐#include<iostream>using namespace std; class BaseClass{ int v1,v2; char v4;public: int temp1(){}}; class DerivedClass:public BaseClass{ int v3; int *p;public: int temp(){}}; int main(){ cout<<"Base="<<sizeo

  • 自考新教材-p1812020-02-04 14:57:19

    源程序: #include<iostream>using namespace std; class another;class Base{private: float x;public: void print(const another &K);};class Derived:public Base{private: float y;}; class another{private: int aaa;public: another() { aaa=100; } friend void

  • 自考新教材-p1592020-02-04 13:00:52

    源程序: #include<iostream>using namespace std; class pointer{public: int a; int *p; //指向整型数的指针 pointer() { a=100; p=new int(10); } pointer(const pointer &tempp) { if(this != &tempp) { a=tempp.a; p=tempp.p; } }}; int main(){ point

  • 自考新教材-p2902020-01-27 14:56:51

    源程序: //程序7-9 #include <iostream> using namespace std; int main() { double values[] = { 1.23,20.3456,300.4567,4000.56789,50000.1234567 }; cout.fill('*');      //设置填充字符为星号 * for (int i = 0; i<sizeof(values) / sizeof(double); i++) { c

  • 自考新教材-p2912020-01-27 14:55:09

    源程序: //程序7-10 #include <iostream> using namespace std; int main() { char c = 'a', str[80] = "0123456789abcdefghijklmn"; int x = 65; cout << "cout.put('a'):"; cout.put('a'); cout << &

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有