代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/237638/13940326
cpp 3_5.cpp
#include
void main()
{
int a;
cout a;
int c1 = a%3 ==0;
int c2 = a%5 ==0;
int c3 = a%7 ==0;
switch((c1
www.eeworm.com/read/135061/13965363
txt lx.txt
#include "stdio.h"
#include "ctype.h"
#include "math.h"
#include "iostream.h"
#include"string.h"
#define LETTER 0
#define DIGIT 1
#define POINT 2
#define OTHER 3
#define POWER 4
#
www.eeworm.com/read/134950/13969699
cpp exp3_1.cpp
/*范例:输入若干字符,统计其中数字字符,白字符和其它字符的个数,输入EOF结束。
[分析] 要统计若干字符,需用循环反复输入,读入数据后用<mark>switch</mark>语句判断字符的种类;
要统计三种字符数,需定义三个用于计数的变量nDigit,nWhite,nOther并首先置0;
读入字符用cin.get()函数,在这里,用while循环比较合适。白字符指空格键,tab键和回车键。
EOF表示End ...
www.eeworm.com/read/134897/13970790
m gsswitch.m
function y = gsswitch(u);
%----------------------------------------------------------------
% GSSWITCH.m contains the switch-criterion for switching from
% Glideslope-Armed to Glideslope-Coupled.
www.eeworm.com/read/134565/13981641
cpp optrrel.cpp
// OPTRRel.cpp: implementation of the OPTRRel class.
//
//////////////////////////////////////////////////////////////////////
#include "OPTRRel.h"
#include "iostream.h"
/////////////////////
www.eeworm.com/read/134565/13981667
cpp optrrel.cpp
// OPTRRel.cpp: implementation of the OPTRRel class.
//
//////////////////////////////////////////////////////////////////////
#include "OPTRRel.h"
#include "iostream.h"
/////////////////////
www.eeworm.com/read/134519/13985190
c psdemo.c
/*
** $Id: psdemo.c,v 1.7 2003/05/07 08:11:06 weiym Exp $
**
** psdemo.c: The PropertySheet demo program.
**
** Copyright (C) 2001 ~ 2002 Wei Yongming.
** Copyright (C) 2003 Feynman Software.
*/
/*
*