thank.
I loves these memes and need more
kys
kys
kys
kys
don't do it there is much in life :)
like memes
syk
kys
>phone posting
kys frog
you mad bro ? maybe you are the one who should end it :)
yeah bro, he should like, literally commit... die... totally
#rekt
>not beta-equivalent
those are both equally stupid, is that the point?
And how would you do that, genius?
return dayArray[ID];
Smart guy
Day = ID.name();
Enums, my dude.
>objects
>tfw you were the dummy that helped him
have fun never getting hired nerd
based
enum Daysofweek {Monday=1, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday};
enum Languages {English=0, Japanese=1};
const size_t NumOfLang = 2;
const std::string daysofweek_name[NumOfLang][8] = {
{"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"},
{"日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日", "日曜日"}
};
isnt std::string ascii?are those moonrunes gonna display properly?
It's not ascii, it's a string of single bytes. If your everything is UTF8, the way it is on Linux, it works. Except string.length() returns not what you would expect it to return (ie 日曜日 is 9 characters long instead of 3) and operations on characters generally are very difficult - if you want to mess with characters your best bet is to convert it to std::wstring.
Day = (const char *[3]){"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"}[ID];
one liner
wait why tf did i make it 3 elements
>off by one
yanderedevs fault for starting it at 0. he shouldn't be dum next time
It literally doesn't do what the user asked for and in addition to that it doesn't handle ID>7(6) gratefully ie it fucking rads from random places in memory. You fucked it up. Literally worse than yandere dev tier.
err one
ok twink
hash table
you gotta be kidding me
Not the same code
>MusumeLeft
day 1 = "Monday"
day 2 = "Tuesday"
day 3 = "Wednesday"
day 4 = "Thorsday"
day 5 = "Friday"
day 6 = "Saturday"
day 7 = "Sunday"
day _ = "Who starts the week on monday?"
I hope your language can do at least this
I'm dying haha
this one is good
this is like a squared graduate meme
would do the same though.
> Sunday twise
Sunday was the first day as well as the eight day on which the Lord was raised.
>when the graduate memer become the graduate meme