Click to See Complete Forum and Search --> : "friends database" program


starwok
November 19th, 2009, 09:29 PM
Hi, I've read the rules for this website and i'm aware that we should not expect people to do our homework. But I really need help on this program.. and I'm not sure how to start it, and it's last minute help please.

I'm suppose to do this using sorting algorithm..so it asks to creat a friends database application that maintains a file of friend objects that contain names, telephone numberrs, and email adresses..etc. The friends application should load friend records from a file and then allow the user to add new friends, delete friends, display a list of all friends by either first naem or last name, and search for a friend. Well the output should look something like this:

1. add a friend
2. display a friends by last name
3. display a friends by first name
4. find a friend
5. delete a friend
6. quit.

Yea.. 've been trying to at least find some examples that are similar to this type of program.. but I didn't really find any. So any help, or similar type of examples/codes for me. thank you!

ProgramThis
November 20th, 2009, 06:59 AM
It is this late in the semester and you don't know where to start? How about:


public class Friend {
//TODO: write sorting method

//TODO: read file

public static void main(String args[]) {


}
}

dlorde
November 20th, 2009, 06:46 PM
... it's last minute help please.

If you leave it to the last minute it's your problem, not ours.

Yea.. 've been trying to at least find some examples that are similar to this type of program.. but I didn't really find any. So any help, or similar type of examples/codes for me. thank you!

This isn't a coding service. There are pay sites where people will write code for you. We're not a search engine either. If you want examples, Google is your friend.

We try to help people who get stuck with problems they can't solve when coding. If you post up your code and explain where you're stuck, we'll try to help you fix it.

The only way to learn a new programming language is by writing programs in it...
B. Kernighan & D. Ritchie

starwok
November 22nd, 2009, 01:24 PM
This late in the semester? I just started this class.

I never said it was your problem. and i've did tried googling and I couldn't find anything or maybe it's because my searching word wasn't correct. I already mentioned in my thread that "I know this isn't a homework service" website.... I know what i'm doing.

dlorde
November 22nd, 2009, 05:33 PM
I know what i'm doing.
Cool, so why are you here? What was your question again?

Learning is never done without errors and defeat...
V. Lenin

starwok
November 26th, 2009, 10:34 PM
Cool, so why are you here? What was your question again?

Learning is never done without errors and defeat...
V. Lenin

Wow, you don't read the whole sentence, and you just take the last part "I'm know what I'm doing" ..... in the WHOLE sentence i said I know this is not a homework service site, im not expecting ppl to write this program for me <-- I know what im doing, as in im not stupid enough to think someone is gonna write it for me. Nevermind about the question.

dlorde
November 27th, 2009, 10:15 AM
Wow, you don't read the whole sentence, and you just take the last part "I'm know what I'm doing" ..... in the WHOLE sentence i said I know this is not a homework service site, im not expecting ppl to write this program for me <-- I know what im doing, as in im not stupid enough to think someone is gonna write it for me.

I read it all - including the bit where you asked for examples and code. I also read the bit where you didn't describe any ideas of your own, or ask any specific questions, or post even the tiniest piece of code to show you were willing to try to write your own code.

So what sort of help do you want?

You asked for examples - why would we have examples? When we want examples, we search online. This is not a Google front end - if you want general examples of common code search for it like anyone else. You said you know what you're doing, but if that were true, you wouldn't be here posting what you posted.

You might find this (http://catb.org/~esr/faqs/smart-questions.html#intro) helpful.

If you want help with code specific to your own assignment, post up your own attempt, ask specific questions and we'll help you fix it.

Nevermind about the question.

What question? You didn't ask a question :rolleyes:

Experience is a poor teacher: it gives its tests before it teaches its lessons...
Anon.