• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it appropriate to post code for help?

 
Jonathan Coveney
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jonathan Coveney
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic