this post was submitted on 20 Jan 2025
84 points (100.0% liked)

chapotraphouse

13684 readers
897 users here now

Banned? DM Wmill to appeal.

No anti-nautilism posts. See: Eco-fascism Primer

Slop posts go in c/slop. Don't post low-hanging fruit here.

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] arswaw@hexbear.net 5 points 2 weeks ago (1 children)

const arr = string[] = ["C","H","E","E","T","O"]

[–] PaX@hexbear.net 5 points 2 weeks ago (1 children)

too-woke-1 char* whitehouse = { 'C', 'H', 'E', 'E', 'T', 'O' }; too-woke-2-alt

[–] arswaw@hexbear.net 2 points 2 weeks ago (1 children)
[–] PaX@hexbear.net 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

It's C but looking at it again I fucked up the array initializer syntax I think lol

I always forget it for some reason

I meant to say char whitehouse[] = { 'C', 'H', 'E', 'E', 'T', 'O' };

[–] arswaw@hexbear.net 2 points 2 weeks ago

My language was typescript but I should've used a colon after the string[]