代码搜索:虚拟场景
找到约 3,772 项符合「虚拟场景」的源代码
代码结果 3,772
www.eeworm.com/read/335753/12501088
h iic.h
//虚拟iic操作
//iic.h
#include "REG52s.H"
#include "intrins.h"
#define numlen 5
#define flashadw 0xa0//定义操作对象的写地址
#define flashadr 0xa1//定义操作对象读地址
typedef unsigned char uchar;
typedef unsigned int
www.eeworm.com/read/200295/15435836
c 51--spi.c
data_len equ 0ch ;温度数据长度
data_buf equ 50h ;温度数据缓冲区
;虚拟引脚定义(For SPI BUS)
vcs equ p1.0 ;片选线
vio equ p1.1 ;数据线
vsc equ p1.2 ;时钟线
;>
www.eeworm.com/read/103443/15732104
cpp phonevir.cpp
//这个程序在本书所带软盘中。文件名为PHONEVIR.CPP
//这个程序演示怎样利用多级继承和虚拟成员子程序来实现多态性。
#include
#include
class telephone {
public:
telephone(char *number);
virtual void dial(char *out
www.eeworm.com/read/286602/8757121
txt 例4.7.txt
例4.7 将例4.6程序改为通过函数模板来实现。
#include
using namespace std;
template //模板声明,其中T为类型参数
T max(T a,T b,T c) //定义一个通用函数,用T作虚拟的类型名
{if(b>a) a=b;
if(c>a) a=c;
retur
www.eeworm.com/read/184790/9075636
txt 例4.7.txt
例4.7 将例4.6程序改为通过函数模板来实现。
#include
using namespace std;
template //模板声明,其中T为类型参数
T max(T a,T b,T c) //定义一个通用函数,用T作虚拟的类型名
{if(b>a) a=b;
if(c>a) a=c;
retur
www.eeworm.com/read/379196/9204875
txt 例4.7.txt
例4.7 将例4.6程序改为通过函数模板来实现。
#include
using namespace std;
template //模板声明,其中T为类型参数
T max(T a,T b,T c) //定义一个通用函数,用T作虚拟的类型名
{if(b>a) a=b;
if(c>a) a=c;
retur