标题:为什么primer 中例程编译不过?
取消只看楼主
alpha315
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-6-3
 问题点数:0 回复次数:0 
为什么primer 中例程编译不过?
是个关于容器的小程序

错误所在行:for (vector<int>::size_type ix = 0;ix != 10; ++ix)

错误提示:'vector<int,class std::allocator<int> >' : is not a class or namespace name

知道的人帮帮我啊 这样的话 容器就用不了了 好多程序跑不了!!!
谢谢了

搜索更多相关主题的帖子: primer 例程 编译 int vector 
2006-06-03 09:11



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-69436-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014178 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved