| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Java Programming Ask your Java programming question and help out others with theirs. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
"friends database" program
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! |
|
#2
|
|||
|
|||
|
Re: "friends database" program
It is this late in the semester and you don't know where to start? How about:
Code:
public class Friend {
//TODO: write sorting method
//TODO: read file
public static void main(String args[]) {
}
}
|
|
#3
|
|||
|
|||
|
Re: "friends database" program
If you leave it to the last minute it's your problem, not ours.
Quote:
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
__________________
Please use [CODE]...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present. |
|
#4
|
|||
|
|||
|
Re: "friends database" program
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. |
|
#5
|
|||
|
|||
|
Re: "friends database" program
Cool, so why are you here? What was your question again?
Learning is never done without errors and defeat... V. Lenin
__________________
Please use [CODE]...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present. |
|
#6
|
|||
|
|||
|
Re: "friends database" program
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.
|
|
#7
|
|||
|
|||
|
Re: "friends database" program
Quote:
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 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. Quote:
![]() Experience is a poor teacher: it gives its tests before it teaches its lessons... Anon.
__________________
Please use [CODE]...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present. Last edited by dlorde; November 27th, 2009 at 11:21 AM. |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|