2016年9月22日
摘要: 在switch-case中定义了变量,用g++编译的时候报错crosses initialization of “XXX” ,在网上一查,说是gcc要求变量的定义不能位于goto之后 将变量定义放在switc-case外就解决了。 参考链接: http://blog.sina.com.cn/s/bl 阅读全文
posted @ 2016-09-22 17:00 woshare 阅读(6054) 评论(0) 推荐(0) 编辑