代码搜索结果
找到约 10,000 项符合
Switch 的代码
vowels.c
#include
void main()
{
char letter;
int vowel_count = 0;
for (letter = 'A'; letter
yejingping.opj
(ExpressProject "yejingping"
(ProjectVersion "19981106")
(ProjectType "PCB")
(Folder "Design Resources"
(Folder "Library")
(NoModify)
(File ".\yejingping.dsn"
(Type "Sch
test-x100p.c
/*****************************************************************************
@(#) test-x100p.c,v openss7-0_9_2_E(0.9.2.8) 2006/12/06 11:45:33
----------------------------------------------------
test-x400p-cap2.c
/*****************************************************************************
@(#) test-x400p-cap2.c,v openss7-0_9_2_E(0.9.2.6) 2006/10/31 21:04:53
-----------------------------------------------
test-x400p-cap.c
/*****************************************************************************
@(#) test-x400p-cap.c,v openss7-0_9_2_E(0.9.2.6) 2006/10/31 21:04:53
------------------------------------------------
swcase.m
%提示用户输入数值
input_num=input('Enter the number:');
%根据情况判断数值大小,显示数值信息
switch input_num
case -1
disp('negative one');
case 0
disp('zero');
case 1
disp('positiv
习题-38.c
//本程序只给出了算法思想
//读者可以自己完善本程序
typedef enum {RED,WHITE,BLUE} color; //三种颜色
void Flag_Arrange(color a[ ],int n)
//把由三种颜色组成的序列重排为按照红,白,蓝的顺序排列
{
i=0;j=0;k=n-1;
while(j
ex.cpp
#include
#include
#include
#include
#include
#include
#include
using namespace std;
struct data
{
bool m_type;
int
coeffd.m
function f=CoeffD(m,n,l)
% 计算控制容积界面上的扩散系数,由相邻结点的扩散系数值插值得到,是温度和浓度的函数
% 输入结点的序号m和界面标记号n,时层序号l
% 返回该结点该界面上的扩散系数值
global R Z r z rn zn L1 M1;
i=mod(m,L1);
j=(m-i)/L1+1;
switch n
case 1%
8l0-862-257-g.lbl
;
; VAG-COM Measuring Block Labels file.
; S8 Central Locking
; Filename: 8L0-862-257-G.lbl
;
; from 2001 Audi S8
; Controller: 8L0 862 257 G
; Component: ZV-Pumpe, DWA, Funk D16
;