代码搜索结果
找到约 21,386 项符合
Switch 的代码
multi switch.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,2, 0x0
Opti
multi switch.plg
礦ision3 Build Log
Project:
E:\Program Files\Labcenter Electronics\Proteus 6 Demonstration(2)\17 multi Switch\Multi Switch.uv2
Project File Date: 07/24/2006
multi switch.lst
A51 MACRO ASSEMBLER MULTI_SWITCH 07/24/2006 08:19:33 PAGE 1
MACRO ASSEMBLER A51 V8.00
OBJECT MODULE PLACED IN Multi Switch.OBJ
ASSEM
switch.c
#include
#include
#include
#include
#include
#include "switch.h"
#include "sw_val.h"
static int swfd;
int sw_init()
{
if((swfd = open("/dev
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.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
判断星期几 没有break;的switch.cpp
#include /*没有break;的switch多分支选择*/
void main()
{
int x;
printf("\n\tInput integer number输入一个整数1~7(输入0结束)判断星期几\n\n");
printf(" 输入一个整数: ");
scanf("%d",&x);
while(x!=0)
{switch(x
判断星期几 switch多分支选择.cpp
#include /*没有break;的switch多分支选择*/
void main()
{
int x;
printf("\n\tInput integer number输入一个整数1~7(输入0结束)判断星期几\n\n");
printf(" 输入一个整数: ");
scanf("%d",&x);
while(x!=0)
{switch(x