代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.cpp
// switch.cpp -- use the switch statement
#include
using namespace std;
void showmenu(); // function prototypes
void report();
void comfort();
int main()
{
showmenu();
in
switch.cpp
// switch.cpp -- use the switch statement
#include
using namespace std;
void showmenu(); // function prototypes
void report();
void comfort();
int main()
{
showmenu();
in
switch.h
/*
* switch.h: Switch configuration API
*
* Copyright (C) 2008 Felix Fietkau
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of th
switch.jhd
MODULE switch
switch.vhd
-- 库声明
library IEEE;
use IEEE.STD_LOGIC_1164.all;
-- 实体声明
entity switch is
port (
din1 : in STD_LOGIC;
din2 : in STD_LOGIC;
sel : in STD_LOGIC;
dout : out STD_LO
switch.c
# include
void main()
{
int num;
/* 下面定义的各变量,分别代表个位,十位,百位,千位,万位,十万位以及位数 */
int indiv, ten, hundred, thousand;
int ten_thousand, hundred_thousand, place;
printf("请输入一个整数(0~99
switch.h
/* switch.h
* Definitions needed for implementing context switching.
*
* Context switching is inherently machine dependent, since
* the registers to be saved, how to set up an initial
* call fram
switch.s
/* switch.s
* Machine dependent context switch routines. DO NOT MODIFY THESE!
*
* Context switching is inherently machine dependent, since
* the registers to be saved, how to set up an initi
switch.c
/* switch.s
* Machine dependent context switch routines. DO NOT MODIFY THESE!
*
* Context switching is inherently machine dependent, since
* the registers to be saved, how to set up an initi
switch.h
/* FJ:SupportForTARBO-20020617-V01L01 */
#ifndef __SWITCH_H__
#define __SWITCH_H__
// ioctl cmds
#define FPGA_SW_MAJOR 250
#define FPGA_SW_IOC_MAGIC 0xdc
#define FPGA_SW_READ _IOR(FPGA_SW_IOC_MAGIC