![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Feb 2005
Posts: 112
Rep Power: 4
![]() |
just an idea, from this website: http://www.adcott.net/binary/
is to create a Binary2Text and Text2Binary translator... would it be hard, or easy? id like to hear some opinions ![]() 01110011 01100101 01100101 00101100 00100000 01101100 01101001 01101011 01100101 00100000 01110100 01101000 01101001 01110011 00100000 01101001 01110011 00100000 01110000 01110010 01100101 01110100 01110100 01111001 00100000 01100011 01101111 01101111 01101100 00100000 01100001 01101001 01101110 01110100 00100000 01101001 01110100 00100001 00111111 |
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() |
I think it would be pretty easy, since that looks like a javascript.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#3 |
|
PFO Founder
![]() ![]() |
it would be pretty easy. cause really all you do is convert the text to a acsii number and then convert that number into binary version of it
![]()
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Feb 2005
Location: Charlottesville, VA (rated #1 place to live)
Posts: 25
Rep Power: 0
![]() |
It's cinchy. That was one of my first programs, back when I programmed GW-BASIC (I still write little computer games in it for my little brother
)
__________________
Cavear Emptor |
|
|
|
|
|
#5 |
|
Programming Guru
![]() ![]() ![]() |
ultra easy... for a level of complexity.. add in octal and hexadecimal also
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#6 |
|
Hobbyist Programmer
|
It would be very simple. Two arrays, a while loop, and that's all you need.
|
|
|
|
|
|
#7 |
|
Hobbyist Programmer
|
Not for me. Especially if I do it in C++. I have always thought about making one though.
__________________
And there was much rejoicing... Yay.... |
|
|
|
|
|
#8 |
|
Hobbyist Programmer
|
It's actually very simple. I just made one in C, no sweat thinking about how to do it. I can't say the same for the debugging process though. Two arrays, couple loops and a bit of counting, and that's it.
I could show you the code, but it has a son of a bitch return flaw I need to rectify. I'll let you see it after I get the code fully working ![]() |
|
|
|
|
|
#9 |
|
Hobbyist Programmer
Join Date: Feb 2005
Posts: 112
Rep Power: 4
![]() |
well, for YOU it would be easy, for ME it would be quite a challenge
since many of you know i am new to C++... but im sure i could give it a shot... just dont know how to convert text to acsii and then to binary.. well actually, i could do that acsii but is there a good site that explains how to convert it to binary? ive only heard that you use a chart with like 64 or whatever... thats all i know.. any siteS?? |
|
|
|
|
|
#10 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 5
![]() |
well I understand that you can just use printf in some special way to print it as binary, can't you? I'm not exactly sure how...
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|