this post was submitted on 03 Aug 2023
670 points (96.1% liked)

Programmer Humor

32721 readers
374 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.