Results 1 to 4 of 4
Thread: Putting code together.
- 04-17-2008, 03:19 AM #1
Member
- Join Date
- Apr 2008
- Posts
- 1
- Rep Power
- 0
Putting code together.
I have an assignment to put together a list of countries and their language and which continent they are located at. I have to design a menu and give users options to select subset of countries thru the menu, all in one continent, countries with similar languages, etc. I also have to give user an option to search for countries.
I am not sure how to put them all together. Are there sample codes out there I can look at to get an idea about my project? I was told to use binary trees. What do I use for menu?
Any help is appreciated.
Java Newbee
- 04-17-2008, 03:26 AM #2
Well, you should know the basic data structures and the behavior behind the linkedlist implementation if you attempt to use binary trees...
If you really not sure how to deal with it, try to make three arrays...
store the 3 values in the same element... ( just for an experiment )...
Update us,
sukatoa
- 04-17-2008, 03:30 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I think the best way is follows data structures. Rather dealing with arrays, it's really easy as well as much safer way.
- 04-17-2008, 03:53 AM #4
Similar Threads
-
Putting your own type in a Set
By Java Tip in forum java.langReplies: 0Last Post: 04-15-2008, 07:32 PM -
I need help fixing my code.. or non code?
By MrHuggykins in forum New To JavaReplies: 1Last Post: 03-19-2008, 10:12 PM -
Here is my code, can anyone here help me?
By Java_Man in forum New To JavaReplies: 1Last Post: 02-16-2008, 02:41 AM -
Putting controls in arrays?
By Cymro in forum New To JavaReplies: 4Last Post: 02-01-2008, 06:54 PM -
Generating Code Automatically Using Custom code Template In Eclipse
By JavaForums in forum EclipseReplies: 1Last Post: 04-26-2007, 03:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks