. . . . . . - . . . - -

This is a discussion on . . . . . . - . . . - - within the C++ Programming forums, part of the General Programming Boards category; You have spaces separating the letters. It's not possible to correctly split a morse signal, it's too dense....

  1. #16
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    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

  2. #17
    Registered User manofsteel972's Avatar
    Join Date
    Mar 2004
    Posts
    317
    >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/

  3. #18
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Quote Originally Posted by manofsteel972
    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.
    That's what I meant.
    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

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21