代码搜索结果
找到约 10,000 项符合
Switch 的代码
al4_7.c
/*案例代码文件名:AL4_7.C。*/
/*功能:已知利润求薪水。*/
main()
{ long profit;
int grade;
float salary=500;
printf("Input profit: ");
scanf("%ld", &profit);
grade= (profit – 1) / 1000; /* 将利润-1、再整
al4_7.c
/*案例代码文件名:AL4_7.C。*/
/*功能:已知利润求薪水。*/
main()
{ long profit;
int grade;
float salary=500;
printf("Input profit: ");
scanf("%ld", &profit);
grade= (profit – 1) / 1000; /* 将利润-1、再整
6-5.txt
/* 范例:6-5 */
#include
#include
int main()
{
int Mychar;
printf("请输入a-e字符,若要结束,请按任意键(a-e除外)\n");
for(;((Mychar = getche())!= false);)
{
switch (Mychar)
/*
6-5.txt
/* 范例:6-5 */
#include
#include
int main()
{
int Mychar;
printf("请输入a-e字符,若要结束,请按任意键(a-e除外)\n");
for(;((Mychar = getche())!= false);)
{
switch (Mychar)
/*
20-1.txt
/* 范例:20-1 */
// 0.0 File scope 开始
#include
#include
void fun_a(int a,int b); /* 1 函数原型scope(参数行属于此),其中
a,b的可见度仅限于原型声明( )内 */
void main(void)
{
1j0-959-799.lbl
;
; VAG-COM label file
;
; Seat Leon/Toledo (1M) / Skoda Octavia (1U) / VW Bora/Golf (1J)
; VW New Beetle (1C/9C) / VW Passat (3B) / VW Polo Classic (9V)
;
; component: comfort system (#46) - Ge
drow.asv
function drow(val)
switch val
case 1
t=[-10:0.01:10];
y1=a1*[(t)>=0];
case 2
t=[0:0.01:10];
y1=f1*t;
case 3
t=[0:0.01:10];
y1=f1
swi_handler.c
/*
* ____________________________________________________________________
*
* Copyright (c) 2002, Andrew N. Sloss, Chris Wright and Dominic Symes
* All rights reserved.
* ______________
swi_handler.c
/*
* ____________________________________________________________________
*
* Copyright (c) 2002, Andrew N. Sloss, Chris Wright and Dominic Symes
* All rights reserved.
* ______________
swi_handler.c
/*
* ____________________________________________________________________
*
* Copyright (c) 2002, Andrew N. Sloss, Chris Wright and Dominic Symes
* All rights reserved.
* ______________