this post was submitted on 03 Aug 2023
626 points (95.9% liked)

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] nieceandtows@programming.dev 89 points 2 years ago (14 children)

Should have used python. The answer is youme.

[–] Zagorath@aussie.zone 28 points 2 years ago (9 children)

Most languages support concatenation of strings using the + operator. The only mainstream languages I can think of that don't are PHP (which uses ".") and low-level languages like C & C++.

[–] meteorswarm@beehaw.org 4 points 2 years ago (4 children)
[–] LeFrog@discuss.tchncs.de 1 points 2 years ago

I think your link has a double encoded % at the end: %25

The correct link is https://en.cppreference.com/w/cpp/string/basic_string/operator2B

load more comments (3 replies)
load more comments (7 replies)
load more comments (11 replies)