Bring Reality to Games
今天写code时突然发现一个很简单, 很容易弄错, 便之前却没有意识到的问题
typdef struct some_struct {
}structAnotherName;
struct some_struct {
}struct_entity;
正如我对其命名所显示的那样, 这两个看起来相似但是, structAnotherName和struct_entity显然是不同的东西。
posted on 2011-08-03 23:00 seckcoder 阅读(124) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3