You have spaces separating the letters. It's not possible to correctly split a morse signal, it's too dense.
You have spaces separating the letters. It's not possible to correctly split a morse signal, it's too dense.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
>Very easy to crash that one.
Ok Thanks for elaborating? If your referring to the endiness of the computer yes I see that now? There is probably more to it then that I am sure. There is morse code for comma and full stop but I don't think there is a code for a space? Well constructive criticism welcome.
<edit>
well I guess the other bug would be not checking to make sure that n is not larger then 32 bits so let me add a simple test for that.
Last edited by manofsteel972; 05-16-2005 at 07:59 PM.
"Knowledge is proud that she knows so much; Wisdom is humble that she knows no more."
-- Cowper
Operating Systems=Slackware Linux 9.1,Windows 98/Xp
Compilers=gcc 3.2.3, Visual C++ 6.0, DevC++(Mingw)
You may teach a person from now until doom's day, but that person will only know what he learns himself.
Now I know what doesn't work.
A problem is understood by solving it, not by pondering it.
For a bit of humor check out xkcd web comic http://xkcd.com/235/
That's what I meant.Originally Posted by manofsteel972
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law