|
General Details
|
|
C++
|
|
Posted 114 Days Ago
|
|
274 Views
|
|
Received 1 Rating
|
|
Binary Translator
Description
Pulled yet another all-nighter (HA Cinjection!) to get this done. Gathers binary numbers from user input and translates it into ASCII symbols and displays them. I worked my ass off copying and pasting every last binary number from an online translator into that key list file so download the zip file!
Cheers,
-Mike
P.S.
01000100 01101111 01101110 00100111 01110100 00100000 01100010 01100101 00100000 01110011 01101000 01111001 00100000 01110100 01101111 00100000 01110000 01101111 01110011 01110100 00100000 01110011 01101111 01101101 01100101 00100000 01101111 01100110 00100000 01111001 01101111 01110101 01110010 00100000 01101111 01110111 01101110 00100000 01101101 01100101 01110011 01110011 01100001 01100111 01100101 01110011 00100000 01101001 01101110 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100000 01100110 01101111 01110010 00100000 01110100 01101000 01100101 00100000 01110010 01100101 01110011 01110100 00100000 01101111 01100110 00100000 01110101 01110011 00100000 01110100 01101111 00100000 01110100 01110010 01100001 01101110 01110011 01101100 01100001 01110100 01100101 00100001
Technical
G++ command line in Ubuntu Linux
Source Code
|
Download Source Code
binary translator.zip ( 0.00Mb )
|
NEVER open a .exe, .bat, .cmd, or other executable file since that is where viruses are likely to live. Please virus scan all files you download.
|
Comments
| Please login to post comments. |
|
|
You can do it either way. I just find it easier to read when everything is in one place instead of two. It's strictly personal preference. The void parameter list, however isn't personal preference. Most people in the C++ community don't do that.
|
|
|
Thanks! Oh, and for declaring functions why I declare functions after main() is that is how I used to program in Actionscript, so It's a habit. Is it good coding practice to declare functions before main() or can I still use my method? :P
Cheers,
-Mike
|
|
|
Looking good!
Nice shout-out. :P
You know that you could merge the prototype of pauseSystem with the implementation?
void pauseSystem()
{
//...
}
int main() { }
The key is that all functions should be declared before they are use (in your case, above main).
Also, avoid using void in parameter lists. That's a C thing, not C++.
|
More "C++" Source Codes By This Author
Recently Posted "C++" Source Codes
Recently Rated "C++" Source Codes
|