代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.c
/* Demonstrates the switch statement. */
#include
int main( void )
{
int reply;
puts("Enter a number between 1 and 5:");
scanf("%d", &reply);
switch (reply)
switch.java
//An improved version of the season program
class Switch{
public static void main(String args[]){
int month=4;
String season;
switch (month){
case 12:
case 1:
case 2:
System.out.println("Apri
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.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity switch is
port
( ch :in std_logic;
i1 :in std_logic;
i2 :in std_logic;
o1 :out std_logic;
switch.h
// Switch.h: interface for the CSwitch class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SWITCH_H__0FBEDC10_8E1D_48D8_9448_6A417E94B455__INCLUDED_)
switch.cpp
// Switch.cpp: implementation of the CSwitch class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "DrawChip.h"
#include "Switch.h"
#i
switch.h
#ifndef __SWITCH_H__
#define __SWITCH_H__
//--------------------------------
// Video input Format
//--------------------------------
#define _1080i
#define K_nosignal 0x80
#define K_NT