• Post Reply Bookmark Topic Watch Topic
  • New Topic

Array Sorts  RSS feed

 
Heather Carey
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you put an Array Sort inside of the main method or is the Array Sort to be its own method invoked from main?

Also, I see everone printing their code in the help section in what appears to be this blogs color schemed background. How do I do that instead of pasting my code as text?

Thanks,
Heather
 
Paul Clapham
Sheriff
Posts: 22835
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can put your code wherever you like. Of course some choices have their advantages, but in the case of your question there isn't nearly enough information to tell.

As for your other question, I guess you're asking about how to post formatted code (rather than plain old text, which you've probably observed is ugly and hard to read). The UseCodeTags page (follow the link) tells you about that.
 
Heather Carey
Greenhorn
Posts: 15
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!