User profile: ericM

User info
User name:ericM
Name:Eric
Location:Dublin
History
Joined:
Number of posts:39
Latest posts:

update item in a std::set
extraction and reinsertion worked fine for me. Thanks all for the clarification!

update item in a std::set
Hello, I am trying to modify an item (an object) stored in a set. I know its position in set, ...

Trying to make it display for the output
From your comments it looks like you are trying to decide the oddity of every digit, so why don't yo...

Trying to make it display for the output
I cannot reproduce the error: [code] #include <iostream> #include <string> using namespace std; // ...

Deciding Prime number
I think there are a couple of issue with the logic you implemented, I would write something like: ...