User profile: volang

User info
User name:volang
History
Joined:
Number of posts:251
Latest posts:

std::string.assign() the right way
[quote]char str[] = ""; //this is usually not empty, but ...[/quote] You all seem to panic over th...

compare addresses - make sure one comes before the other
[quote]If you need to compare arbitrary pointers you should first convert them to uintptr_t or intpt...

compare addresses - make sure one comes before the other
[quote]As long as both p1 + 1 and p2 point to the same array or one element past the end of the arra...

compare addresses - make sure one comes before the other
I tried it, it works. But maybe that's not all the facts. Always good to check with others as well

std::string.assign() the right way
It seems that the only real danger is if we pass in a (first) that is greater than (last) ? (compari...

This user does not accept Private Messages

User: volang

  • Public profile