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
Please help! R6010 -abort() has been cal
Please help! R6010 -abort() has been called
Nov 26, 2012 at 2:41pm UTC
dekeenfrance
(169)
Hi,
The push_back of vectors for the first period works fine. But when I continue with period 2, surprise: R6010 -abort() has been called.
Could someone please tell me why can I push_back once but not twice?
Thanks in advance.
Last edited on
Nov 26, 2012 at 3:54pm UTC
Nov 26, 2012 at 3:05pm UTC
TTT
(61)
Can you put the whole code? I'll try help after compiling
Nov 26, 2012 at 3:57pm UTC
dekeenfrance
(169)
Hi,
Thanks for your quick reply. Actually, I just found out the reason: I missed one line in the code (by accident put "//" before it). So the program could not push_back more than once.
Now it works fine. Thanks again.
Topic archived. No new replies allowed.