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

Programmer Humor

32426 readers
1090 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
[–] [email protected] 1 points 1 year ago

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