[RESOLVED] HELP!!!
Results 1 to 14 of 14

Thread: [RESOLVED] HELP!!!

  1. #1
    Ghostfleet
    Guest

    Resolved [RESOLVED] HELP!!!

    This is a Java query.

    I really need a reverse function application (that is about 15 lines of code), can anyone help???

    I need it asap & I will be eternally grateful if you can supply me with one.

    Thanks in advance!

    Ghostfleet

  2. #2
    QSECOFR
    Guest

    Post

    Sorry, I wish I knew Java. Maybe check with LagMonster.

    ------------------
    OS/400...At least it's not Microsoft.

  3. #3
    Registered User
    Join Date
    Jul 2000
    Location
    Huntington Beach, CA, USA
    Posts
    1,515

    Post

    Check some of the following pages:

    http://javaboutique.internet.com/
    http://javaboutique.internet.com/resources/javaatwork/
    http://www.javacats.com/US/
    http://www.freecode.com/
    http://www.codebrain.com/

    One of them may have the code you are looking for.

    ------------------
    Death is lighter than a feather - duty heavier than a mountian.

  4. #4
    LagMonster
    Guest

    Post

    goto http://www.digitalrice.com/kaparo/

    Click on decompilers Scroll down to java they have about 3 of em.

    Try it out.(I don't know how well any of them work)

  5. #5
    Ghostfleet
    Guest

    Post

    Thank You for your help so far everyone....but thats not exactly what I am looking for.

    I am looking for a Java application that....

    1. Looks sort of like a DOS prompt.
    2. When you type in "12345" and hit enter, it will then display "54321".

    Any ideas?

  6. #6
    LagMonster
    Guest

    Post

    I am at work right now so. I can't really compile anything, but does it have to be java, can it be VB script?

  7. #7
    Ghostfleet
    Guest

    Post

    It is for my cousin. She needs it for her Java class at college. I assume that it is Java only.

    Thank you for your help!

    Ghostfleet

  8. #8
    BIGGS
    Guest

    Talking

    have you tried a mirror? that could work

    just kidding try this

    tell your cousin that the program is very easy. Just get the string from the command line and put it in an array. Then output the string backwards using the array index one number at a time, start from the end of the array and work your way to the first letter.

  9. #9
    Registered User
    Join Date
    Aug 2000
    Location
    Lake Orion, MI
    Posts
    241

    Post

    Biggs is right about this one, however, I don't belive you can use arrays in java...

    Don't take my word for it tho...I really only use Javascript, not Java (YES there is a difference )

    ------------------
    -- What? No more Jolt!?!?

  10. #10
    vman
    Guest

    Smile

    You can use arrays in java. I am currently taking java in school.

  11. #11
    mahdi
    Guest

    Cool

    I believe you can also do a bubble sort and have it work that way...not sure, never used Java, but is close enough to C that it might work.

  12. #12
    Registered User
    Join Date
    Nov 1999
    Location
    USA
    Posts
    696

    Lightbulb

    <font face="Verdana, Arial" size="2">Originally posted by BIGGS:
    Just get the string from the command line and put it in an array. Then output the string backwards using the array index one number at a time, start from the end of the array and work your way to the first letter.</font>
    Yes, you can do arrays in Java, and of all the possibilities listed here, Biggs has the best one. If that's your cousin's entire assignment--to output a string of characters backward--then that's most likely all the professor is looking for.

    Assign the inputs to arr[0] (the first element in the array) through arr[4] (the fifth element in the array), and then have the program output them starting with arr[4] and working backward to arr[0].


  13. #13
    Imon Fyre
    Guest

    Post

    ghostfleet, i had to do one of those as one of my assignments for skool, an i still have it kickin around on my HD somewhere.. get back to me an ill send it to ya

    ------------------
    Access to computers should be unlimited and total.
    - hacker ethic

  14. #14
    Ghostfleet
    Guest

    Talking

    Awesome!!!

    If you can find it PLEASE send it to my email or post it here.

    Thanks,
    Ghostfleet

    [email protected]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •