I need help deleting from a vector. My program is about the josephus problem. It has to delete soldiers. It does deletes the first one but then it stops. Thank you!
vrga
0
Newbie Poster
Recommended Answers
Jump to Postwhile(soldiers.size()==1)
This while statement is ill
All 4 Replies
Sky Diploma
571
Practically a Posting Shark
vrga
0
Newbie Poster
Sci@phy
97
Posting Whiz in Training
Sky Diploma
571
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.