[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Caesar cipher = FML
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 12
Thread images: 2
File: degrees_are_not_RPG_items.png (5 KB, 872x449) Image search: [Google]
degrees_are_not_RPG_items.png
5 KB, 872x449
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
>>
File: 1444240194024.png (537 KB, 692x577) Image search: [Google]
1444240194024.png
537 KB, 692x577
>>54293429
> +20 PUSSY
> +100 ALCOHOL TOLERANCE
Thread replies: 12
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.