cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Vector problems
Page 2
Vector problems
Pages:
1
2
Feb 14, 2013 at 5:37pm UTC
LB
(13399)
i <= size
is incorrect, and you used it in your first program
i < size-1
is incorrect, and you used it in your second program
i < size
is correct, and you should use it
Topic archived. No new replies allowed.
Pages:
1
2