代码搜索结果
找到约 21,386 项符合
Switch 的代码
switch.dsp
# Microsoft Developer Studio Project File - Name="switch" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Co
switch.plg
Build Log
--------------------Configuration: switch - Win32 Debug--------------------
Command Lines
Creating temporary file "D:\Profiles\w20836
switch.as
switch(x)
{
case y:
trace("y");
case x:
trace("x || y");
break;
case z:
break;
default:
break;
}
switch.c
#include
void Switchdemo(void)
{ Byte outputstate;
switch(outputstate)
{case 1:
P1_0=0;
P1_1=0;
P1_2=0;
break; //跳出循环
case 2:
P1_0=1;
P1_1=0;
P1_2=0;
break;
switch.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
Options 1,0,0 // Target
wtr-switch-1.c
/* Test for -Wtraditional warnings on switch operands of type long.
Note, gcc should omit these warnings in system header files.
By Kaveh R. Ghazi 8/22/2000. */
/* { dg
switch-1.c
/* { dg-do compile { target rs6000-*-linux* powerpc-*-linux*} } */
/* { dg-options "-fpic -O2" } */
void f (char *s)
{
for (;;)
{
int t = 6;
switch (t)
{
case 2:
*s = '2';
cas
switch.c
#include
void Switchdemo(void)
{ Byte outputstate;
switch(outputstate)
{case 1:
P1_0=0;
P1_1=0;
P1_2=0;
break; //跳出循环
case 2:
P1_0=1;
P1_1=0;
P1_2=0;
break;
switch.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
Options 1,0,0 // Target