📄 e15_3.cpp
字号:
// e15_3.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
class Task{
//...
public:
void debug(double p){}
};
class Displayed{
//...
public:
void debug(int v){}
};
class Satellite:public Task,public Displayed{
//...
};
void g(Satellite *p)
{
// p->debug(1);
p->Task::debug(1);
p->Displayed::debug(1);
}
int main(int argc, char* argv[])
{
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -