VC++容器调试

[复制链接]
查看11 | 回复1 | 2013-3-28 11:36:35 | 显示全部楼层 |阅读模式
提示你out of range,是超出范围了。也就是容量100个元素,你去取第200个元素了。The max_size() function returns the maximum number of elements that the container can hold. The max_size() function should not be confused with the size or capacity functions, which return the number of elements currently in the container and the the number of elements tha...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行