|
-
March 14th, 2001, 09:45 AM
#1
[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
-
March 14th, 2001, 10:00 AM
#2
Sorry, I wish I knew Java. Maybe check with LagMonster.
------------------
OS/400...At least it's not Microsoft.
-
March 14th, 2001, 10:51 AM
#3
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.
-
March 14th, 2001, 01:14 PM
#4
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)
-
March 14th, 2001, 01:30 PM
#5
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?
-
March 14th, 2001, 01:50 PM
#6
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?
-
March 14th, 2001, 04:05 PM
#7
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
-
March 14th, 2001, 07:54 PM
#8
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.
-
March 14th, 2001, 09:49 PM
#9
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!?!?
-
March 15th, 2001, 12:09 AM
#10
You can use arrays in java. I am currently taking java in school.
-
March 15th, 2001, 09:36 AM
#11
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.
-
March 16th, 2001, 01:24 PM
#12
<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].
-
March 16th, 2001, 01:36 PM
#13
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
-
March 17th, 2001, 10:53 AM
#14
Awesome!!!
If you can find it PLEASE send it to my email or post it here.
Thanks,
Ghostfleet
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks