Click to See Complete Forum and Search --> : HELP!!!
Ghostfleet
March 14th, 2001, 08:45 AM
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
QSECOFR
March 14th, 2001, 09:00 AM
Sorry, I wish I knew Java. Maybe check with LagMonster.
------------------
OS/400...At least it's not Microsoft.
cyberhh
March 14th, 2001, 09:51 AM
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.
LagMonster
March 14th, 2001, 12:14 PM
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)
Ghostfleet
March 14th, 2001, 12:30 PM
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?
LagMonster
March 14th, 2001, 12:50 PM
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?
Ghostfleet
March 14th, 2001, 03:05 PM
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! http://forums.windrivers.com/cgi-bin/forum/smile.gif
Ghostfleet
BIGGS
March 14th, 2001, 06:54 PM
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.
KoWind7
March 14th, 2001, 08:49 PM
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 http://forums.windrivers.com/cgi-bin/forum/smilies/cwm1.gif )
------------------
-- What? No more Jolt!?!?
vman
March 14th, 2001, 11:09 PM
You can use arrays in java. I am currently taking java in school.
mahdi
March 15th, 2001, 08:36 AM
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.
Renée
March 16th, 2001, 12:24 PM
<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].
Imon Fyre
March 16th, 2001, 12:36 PM
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
Ghostfleet
March 17th, 2001, 09:53 AM
Awesome!!!
If you can find it PLEASE send it to my email or post it here.
Thanks,
Ghostfleet
ghostfleet@hotmail.com