所在位置:主页 > 专题 > 帕鲁指南 > 交换机配置中switch# con t 是什么意思?

交换机配置中switch# con t 是什么意思?

发布时间:2025-04-10 11:41来源:www.stxyjg.com作者:新羽手游网

一、交换机配置中switch# con t 是什么意思?

config terminal的简写,即进入配置模式

switch是交换机名字

#是命令提示符

con 是config的简写

t是terminal的简写

二、灭火器的开关可以说是valve吗?还是switch

灭火器的开关(The fire extinguisher switch)

可以说 (switch)

Good luck, the elder brothers!!

三、switch语句可否嵌套switch

switch中嵌套switch就是在第一个switch的某个case语句或default语句中进行嵌套。

下面以switch嵌套在case语句中进行举例说明。

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

int a=4,i=0;

switch(a)

{

case 1:

{

printf(abc);

break;

}

case 2:

{

printf(abcd);

break;

}

case 3:

{

i++;

switch(i) // switch语句中嵌套switch语句

{

case 1: printf(fff);break;

case 2: printf(111);break;

default: printf(222);

}

break;

}

default :

printf(error);

  • 热门资讯
  • 最新攻略
  • 手游排行榜
  • 手游新品榜