Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

random numbers in arrays

 
Howard Ralston
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy folks,
Is it possible to email a short program to someone for assistance in debugging it? It is supposed to generate random numbers and place them into an array, making sure that no numbers are repeated. Then it is supposed to convert these numbers to string and set them as text in an array of TextFields. It will compile, but not run. I get an exception in thread "main" , and I've been beating my head against a wall trying to figure out why it will not work.
Thanks in advance for any replies.
 
Andy Ceponis
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post the code here and someone will be able help ya(prolly not me though ).
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we do e-mail responses then only ONE person benefits. If you post the code and get some replies then HUNDREDS of people benefit.
If you are banging your head over this, then it will probably help others to avoid the problem by reading your code.
Post away .
 
Andy Ceponis
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cindy Glass:
If you are banging your head over this, then it will probably help others to avoid the problem by reading your code.
Post away .

"others" refers to people like me....
 
Howard Ralston
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, guys. I cannot enter the code until tonight, but hopefully someone will have some spare time to look at it tomorrow.
Howard
 
ryan burgdorfer
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howard,
Just copy the code from your editor and paste it into your next post. Be sure to paste it between code tags...they look ike this:
<h4>(code)...paste code here...(/code)</h4>
Just replace the parentheses ( ) with brackets [ ]. Using code tags will make your code alot easier for everyone to read, and will increase your chances of getting meaningful replies. I know that I, for one, tend to skip over reading code that is NOT formatted between code tags...
------------------
  • Ryan Burgdorfer
  • Java Acolyte in
  • Columbus, OH USA
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic