代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/274539/10866405
cpp student.cpp
#include
void main()
{
int f;
cin>>f;
switch(f/10)
{
case 10: cout
www.eeworm.com/read/348769/10867963
h class1.h
#include
#include
#include
#include
#include
int flag=0; //标志位
char cch;
char bchar;
char str[100];
FILE *fp;
void Pushback(ch
www.eeworm.com/read/272848/10940548
cpp switchbox.cpp
// switch box routing
#include
#include "arrayStack.h"
using namespace std;
bool checkBox(int net[], int n)
{// Determine whether the switch box is routable.
// net[0..n-1] is
www.eeworm.com/read/272824/10942894
cpp p1-30.cpp
#include
main()
{
//x,y 为操作数,c为运算符
int x,y,z;
char c1;
cin>>x>>c1>>y; //c1
//多路选择语句选择不同表达式计算语句
switch(c1) {
case '+':cout
www.eeworm.com/read/272739/10946145
cpp stdafx.cpp
// stdafx.cpp : source file that includes just the standard includes
// Switch.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
www.eeworm.com/read/418304/10954417
m subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
www.eeworm.com/read/418304/10954418
m subsasgn.m
function a = subsasgn(a,index,val)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
a.con(index(2).subs{:}) = val;
else
a.con = val;
e
www.eeworm.com/read/418304/10954487
m subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
www.eeworm.com/read/418304/10955123
m subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas