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

Programmer Humor

31217 readers
36 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 91 points 11 months ago (15 children)

Should have used python. The answer is youme.

[–] [email protected] 32 points 11 months ago (10 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++.

[–] [email protected] 4 points 11 months ago (4 children)
[–] [email protected] 1 points 11 months 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 (8 replies)
load more comments (12 replies)