• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Is it appropriate to post code for help?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic