Thread
:
Segmentation Fault error
View Single Post
•
•
Join Date: Aug 2008
Posts: 86
Reputation:
Solved Threads: 18
nmaillet
Offline
Junior Poster in Training
Re: Segmentation Fault error
0
#
2
Dec 3rd, 2008
The problem is with line 203. You're trying the assign the value of
newAccount
to memory outside the bounds of the vector's array. Use
account_Names.push_back(newAccount)
instead, and it should reallocate the memory for you.
Nick
nmaillet
View Public Profile
Find all posts by nmaillet