This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Is it appropriate to post code for help? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is it appropriate to post code for help?" Watch "Is it appropriate to post code for help?" New topic
Author

Is it appropriate to post code for help?

Jonathan Coveney
Greenhorn

Joined: Feb 24, 2005
Posts: 2
I made a program to simulate risk battles, and I wanted to see how I could make it more professional/cleaner/efficient. Also, I wanted to know if anyone had a good way to check the probability...

Is it appropriate to attach my code?

Also, I was wondering how I can make an executable out of two .java files (and including the fact that the file uses an extra library that I have)
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Post it. That's what we do 'round here.

Specifically, if there is a particular portion you want to fine-tune post just that part. Posting more than a screen of code at a time can be pretty dull to read.


A good workman is known by his tools.
Jonathan Coveney
Greenhorn

Joined: Feb 24, 2005
Posts: 2
Here is a link to a zip with the files
It isn't a terribly huge programming...just utilizes some mathematical methods. I want to make sure that I am not doing anything heinous before moving onto the really ugly stuff.

This link should work:
http://jcoveney.freewebspace.com/
Just go there and click on the only hypertext link on the page (freewebspace won't let me directly link to the file)

and for me, the library goes in: C:\j2sdk1.4.2_05\jre\lib\ext
[ February 24, 2005: Message edited by: Jonathan Coveney ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it appropriate to post code for help?
 
Similar Threads
Singleton implementation Not possible?
Strutstestcase framework verifyForward(“success”) Exception
synchronized block
Sessions on a servlet
Anyone finish this in a month!!!???