Does anyone know how to encode & decode a Caesar cipher using arrays in c ++(#include <string>, and #iclude <iostream>)? My professor's a real fuckface about this shit...
>>54293429
Make char array, read value of each char and inc/dec each. That's it. Look up an ASCII table ya lemon
>>54293429
Take the array of characters and add or subtract the offset of each character and if it goes out of the range of character values make it wrap around to the other end ya dingus.
>>54293429\n -> map (toEnum . (+n) . fromEnum)
>>54293429
Figure out your own homework kid
is this bait?
>>54293429
Drop out
>>54293758
>>54293706
>>54293744
/thread
pack up and go home boys
>>54293429
oh man if this is the competition i'm set, have fun being unemployed :)
>>54293572
>>54293591
>>54293655
Wow, actual suggestions. I missed about a week after being sick and now I'm slightly less fucked, thanks.
>>54293847
You're kind of right, but I'm new as fuck. Good luck with that serious job shit. That's a few years away for me mang
>>54293429
> +20 PUSSY
> +100 ALCOHOL TOLERANCE