![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ERROR
KingGunFishing
这个作者很懒,什么都没留下…
展开
-
a label can only be part of a statement and a declaration is not a statement
Case statements are only 'labels'. This means the compiler will interpret this as a jump directly to the label. In C++, the problem here is one of scope. Your curly brackets define the scope as everyt翻译 2016-06-28 00:04:01 · 430 阅读 · 0 评论 -
【C/C++】error: a label can only be part of a statement and a declaration is not a statement
http://stackoverflow.com/questions/92396/why-cant-variables-be-declared-in-a-switch-statement switch case:里不能声明变量 如果要声明需要给case加{} Case statements are only 'labels'. This means the compiler原创 2016-09-21 21:55:14 · 501 阅读 · 0 评论 -
【android】R cannot be resolved to a variable
java类名不能包含数字, 为什么不能数字:http://www.zhihu.com/question/19581495?rf=20150792 命名规范:http://www.cnblogs.com/qq78292959/archive/2011/03/17/2076948.html原创 2016-09-21 22:09:43 · 671 阅读 · 0 评论 -
【python】'utf-8' codec can't decode byte 0xce in position 0: invalid continuation byte
参考:http://againinput4.blog.163.com/blog/static/1727994912011112224749861/ 原来是notepad++所用的当前编码是ANSI,而不是utf-8编码 【解决方法】 方法一:将当前文件转化为utf-8编码 方法二:将中文字符前缀u""改为unicode("") print(u"{}文件原创 2016-09-21 22:04:00 · 14327 阅读 · 0 评论