码迷,mamicode.com
首页 > 其他好文 > 详细

Warning: 'typedef' was ignored in this declaration

时间:2016-12-07 07:46:04      阅读:471      评论:0      收藏:0      [点我收藏+]

标签:struct   typedef   c++   ring   code   str   automatic   this   mat   

Question:

Warning: ‘typedef‘ was ignored in this declaration.

 

Answers:

Delete typedef. It‘s the C way of declaring structs, C++ does it automatically for you.

Warning: 'typedef' was ignored in this declaration

标签:struct   typedef   c++   ring   code   str   automatic   this   mat   

原文地址:http://www.cnblogs.com/zangkuo/p/6139791.html

(1)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!