A tough problem.
String’s competing constructors
by Andrzej Krzemieński
From the article:
Let’s start with the problem. I want to check whether a program received a text message that consists of four consecutive zeroes. Not '0', but the numeric zero. I will create a constant std::string representing the special sequence and compare the messages (also stored as std::strings) I receive...
Add a Comment
Comments are closed.