User profile: seeplus

User info
User name:seeplus
Number of posts:4741
Latest posts:

any one can try to fix this ?
It looks like the OP was c, not C++. AAhhh.. As c based upon the OP, then possibly: [code] #includ...

any one can try to fix this ?
Based upon this method (although I prefer lastchance's version above), then: [code] #include <array...

any one can try to fix this ?
1) xutility shouldn't be directly used for #include - it is not a c++ standard include. Some compile...

for loops, is using i-- bad practice?
If dealing with a container, then range-for can be used to iterate over the container https://en.cp...

Hello, I'd appreaciate a code review!
Or even simpler: [code] #include <iostream> #include <random> #include <set> std::set<unsigned> ge...