C语言:error: a label can only be part of a statement and a declaration is not a statement|
场景还原一个简单的switch语句Demo#include<stdio.h>int main(){ int a=1, b=2, re; char c; scanf("%c", &c); switch(c) { case '+': re = a + b; break; case '$': re = a - b; r
原创
2016-10-19 11:46:03 ·
16735 阅读 ·
2 评论