首页 > 其他分享 >5.18

5.18

时间:2023-05-18 20:56:55浏览次数:39  
标签:int void class student 5.18 public

#include<iostream>

using namespace std;

#include<string>

class student {

public:

    void shangke();

protected:

    string name;

    int bj;

    int id;

};

class teacher {

public:

    void jiaoke();

protected:

    int ID;

    int gz;

};

class zhujiao :public student, public teacher {

 

};

int main()

{

    system("pause");

    return 0;

}

标签:int,void,class,student,5.18,public
From: https://www.cnblogs.com/zjm921/p/17413257.html

相关文章

  • 5.18总结
    packagecom.mf.jdbc.exmaple;importcom.alibaba.druid.pool.DruidDataSourceFactory;importcom.mf.jdbc.Brand;importorg.junit.Test;importjavax.sql.DataSource;importjava.io.FileInputStream;importjava.sql.Connection;importjava.sql.PreparedStatement;......
  • 5.18CSDN贪吃蛇
    贪吃蛇 速度不要调很慢会影响判断#include<iostream>#include<windows.h>#include<conio.h>#include<deque>#include<ctime>#include<stdexcept>usingnamespacestd;structSnake{//蛇类结构体charimage;shortx,y;//坐标};classsnakeGame......
  • 2023.5.18
    importosimportpandasaspd#添加测试数据os.makedirs(os.path.join('.','data'),exist_ok=True)data_file=os.path.join('.','data','house_tiny.csv')withopen(data_file,'w')asf:   f.write('N......
  • 5.18打卡
    一、问题描述:骰子是一个有六个面的正方体,每个面分别印有1~6之间的小圆点代表点数。假设这个游戏的规则是:两个人轮流掷骰子6次,并将每次投掷的点数累加起来。点数多者获胜;点数相同则为平局。要求编写程序模拟这个游戏的过程,并求出玩100盘之后谁是最终的获胜者。二、设计思路:由于每......
  • 5.18
    #include<stdio.h>main(){inti,x,y,last=1;printf("Inputxandy:\n");scanf("%d%d",&x,&y);for(i=1;i<=y;i++)last=last*x%1000;printf("Thelastthreedigitsis:%d\n",last);}......
  • 5.18打卡
    #include<bits/stdc++.h>usingnamespacestd;doublef(intn,intx){if(n==0)return1;elseif(n==1)returnx;elsereturn((2*n-1)*x*f(n-1,x)-(n-1)*f(n-2,x))*1.0/n;}intmain(){intn,x;cin>>n>>x;......
  • 2023.5.18——软件工程日报
    所花时间(包括上课):6h代码量(行):0行博客量(篇):1篇今天,上午学习,下午学习。我了解到的知识点:1.了解了一些数据库的知识;2.了解了一些python的知识;3.了解了一些英语知识;5.了解了一些Javaweb的知识;4.了解了一些数学建模的知识;6.了解了一些计算机网络的知识;......
  • 2023.5.18 第二阶段冲刺日报(四)
    今天是冲刺第四天,在昨天进行了开发后,在今日的站立会议中,我们进行了内容和问题的总结首先,我们明确了昨天的开发进度:1.在客户端上已经实现了由客户端到服务端的连接2.在安卓端上已经尝试性的使用了一个登录界面,实现视频功能,但是并没有完全成功安卓端截图如下:当前这个页面是尝......
  • PB反编译器(PBKiller) 2.5.18 特别版
    PBKiller是一款非常优秀的PB反编译器,它可以反编译PB6.7.8.9编译出来的所有对象和源码。用PBkiller软件打开相应的PBD文件,显示如下,可以只导出需要的函数、窗口等,也可以全部导出。截图:http://www.mis2erp.com/soft/PBDE03.pnghttp://www.mis2erp.com/soft/PBDE04.pnghttp://www.mis2e......
  • Linux ALSA驱动之五:Linux ALSA驱动之Platform源码分析(基于Linux 5.18)
    1、Platform概述ASoC被分为Machine,Platform和Codec三大部件,Platform驱动的主要作用是完成音频数据的管理,最终通过CPU的数字音频接口(DA〉把音频数据传送给Codec进行处理,最终......