代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/461110/7233652
cpp func3-2.cpp
// func3-2.cpp algo3-6.cpp和algo3-7.cpp要调用的函数
char Precede(SElemType t1,SElemType t2)
{ // 根据教科书表3.1,判断t1,t2两符号的优先关系('#'用'\n'代替)
char f;
switch(t2)
{
case '+':
case '-':if(
www.eeworm.com/read/460608/7245809
c f500_ports_portmatch.c
//-----------------------------------------------------------------------------
// F500_Ports_PortMatch.c
//-----------------------------------------------------------------------------
// Copyrigh
www.eeworm.com/read/460608/7246406
c t630_portmatch_suspend.c
//-----------------------------------------------------------------------------
// T630_PortMatch_Suspend.c
//-----------------------------------------------------------------------------
// Copyri
www.eeworm.com/read/460374/7252603
c main.c
//
#define F_CPU 10000000UL
#include
#include
#include
#include
#include
#define loop_until_bit_is_clear(sfr, bit) do { } w
www.eeworm.com/read/459244/7278237
m chap10_1plot.m
close all;
figure(1);
plot(t,y(:,1),'r',t,y(:,2),'b');
xlabel('time(s)');ylabel('Position tracking');
figure(2);
plot(t,u(:,1),'r');
xlabel('time(s)');ylabel('Control input');
figure(3);
www.eeworm.com/read/459070/7283033
m phasemap.m
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%% CalcPhase - function %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
www.eeworm.com/read/459007/7284307
hpp cdt_h.hpp
#ifndef _CDT_DATA_INDEX
#define _CDT_DATA_INDEX
typedef struct _YC_
{
unsigned char TableName[10];
int CDTIndex;
int DatabaseIndex;
int A;
int B;
int Value;
}YC;
typedef struct
www.eeworm.com/read/458027/7313813
c 汉诺塔.c
这是个汉诺塔程序,在调试的时候,输入的数字最好不要大于15,因为每大一个数
所得的结果的步骤都会多一倍。如果你有耐心等待结果的话除外。汉诺塔是在欧洲
流行的一种游戏,有a,b,c三个竿。a竿上有若干个由大到小的圆盘,大的在下面,
小的在上面,b,c都是空杆,请你把a杆上的圆盘都倒到别的杆上,或b或c,在倒盘
的过程中不可以大的压小的,实例程序如下:
#include ...
www.eeworm.com/read/457902/7315771
c animals.c
/* animals.c -- uses a switch statement */
#include
#include
int main(void)
{
char ch;
printf("Give me a letter of the alphabet, and I will give ");
printf("an