this post was submitted on 03 Aug 2023
667 points (96.0% liked)

Programmer Humor

32453 readers
647 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] meteorswarm@beehaw.org 1 points 1 year ago

This is because your operands are const char[]. That's not a std::string.