我该如何解决这些问题? [英] How do I solve these questions?

查看:110
本文介绍了我该如何解决这些问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

class PPP
{
    int H: 
  protected :
    int S;
  public :
    void input (int);
    void out();
};

class QQQ : private PPP
{
    int T;
  protected :
    int U;
  public :
    void indata(int, int);
    void outdata();
};

class RRR : public QQQ
{
    int M;
  public :
    void disp();
};





i。命名QQQ类的基类和派生类。

ii。命名数据成员可以从函数disp()访问数据。

iii。命名成员函数,可以从类RRR的对象访问。

iv。成员函数out()是否可以通过QQQ类的对象访问?



我尝试了什么:



guyz如果是这样你能回答这些问题请回答吗?



i. Name the base class and derived class of the class QQQ.
ii. Name the data member(s) data can be accessed from function disp().
iii. Name the member function(s), which can be accessed from the objects of class RRR.
iv. Is the member function out() accessible by the object of the class QQQ?

What I have tried:

guyz are u be able to answer these questions if it is so please answer it?

推荐答案

我们不做作业为了你。家庭作业,练习,测试都旨在帮助你巩固你的大脑的学习。



虽然我们很多人都可以回答这些问题如果我们这样做,我们不会对你有所帮助。



自己尝试使用你的课程笔记(或其他研究)。如果您遇到困难,请回复您自己的建议,我们可以帮助您了解具体信息
We don't do homework for you. Homework, exercises, tests are all designed to help you to cement the learning in your brain.

Whilst many of us can answer the questions, we would not be doing you any favours if we did.

Try it yourself using your course notes (or other research). If you get stuck then come back with your own suggestions and we can help you with specifics


我们不做您的HomeWork。

HomeWork未设置为测试你乞求别人做你的工作的技巧,它会让你思考并帮助你的老师检查你对你所学课程的理解,以及你应用它们时遇到的问题。

你的任何失败都会帮助你的老师发现你的弱点并设定补救措施。

你的任何失败都会帮助你了解什么有效,什么无效,被称为'试错'学习。

所以,试一试,重读课程并开始工作。如果您遇到特定问题,请展示您的代码并解释这个问题,我们可能会提供帮助。
We do not do your HomeWork.
HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them.
Any failure of you will help your teacher spot your weaknesses and set remedial actions.
Any failure of you will help you to learn what works and what don't, it is called 'trial and error' learning.
So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.


这篇关于我该如何解决这些问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆