Share your repls and programming experiences

← Back to all posts
text to binary -- only 3 lines :)
SilentShadowBla (500)

WARNING THIS IS 3 LINES BUT VERY LONG

This is a program that translates keypresses or "text" to its binary equivalent.

Have fun!

Commentshotnewtop
SilentShadowBla (500)

You can suggest any new characters to translate right now there is...
a-z lowercase
[, ], \

StudentFires (121)

Do you mind if I take your code and call it mine? Mainly just the getch() function from k.hpp. I improved upon your code here: https://repl.it/@StudentFires/CharacterToBinary

SilentShadowBla (500)

sure the getch isn't mine, a friend of mine made it....
@StudentFires
yours is cool!

StudentFires (121)

@SilentShadowBla Okay, thanks! Does your friend have a repl account? Can I check out some of their code?

SilentShadowBla (500)

no, he doesn't use repl :( I always try convince him to try it but he is not interested @StudentFires

StudentFires (121)

@SilentShadowBla Very unfortunate, from that single file I can see he's an okay C++ programmer already, as are you. Gl!