c=+ tag

2 questions


1 answers
71 views
0
How do I erase elements while writing std::list?

for (std::list<item*>::iterator i=items.begin();i!=items.end();i++){ bool isActive = (*i)->update(); //if (!isActive) // // items.remove(*i); //else other_code_involving(*i);}items.remove_...

1 years ago

1 answers
86 views
0
I'm sorry, but please take a look at the basic language problem crying

I'm sorry to ask you the most basic question, but the question isWrite a program that reads two integers a and b to find the sum and outputs it as follows. Program execution result 1Input of two inte...

c=+
1 years ago

© 2024 OneMinuteCode. All rights reserved.