473,287 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

command-line phonebook using a dictionary

16
i need to make a dictionary that works as a telephone book.
this is what needs to happen when i type in the following:

add name number – it adds the name and number to the phonebook
lookup name – returns the number for the given name
alias name newname – lets u look up the number by typing the name or the alias "newname".
change name number – changes the number that is connected to the given name
quit – shuts down the the interactive use of the dictionary

thanks guys!
Oct 29 '07 #1
4 2223
bartonc
6,596 Expert 4TB
That sounds a lot like your Votes using dictionary problem, which I never hear was any use to you. Start with that and post what you have come up with. You've come a long way in just a few days and I don't think that it's asking too much to ask you to follow the Posting Guidelines.
Oct 29 '07 #2
bartonc
6,596 Expert 4TB
That sounds a lot like your Votes using dictionary problem, which I never hear was any use to you. Start with that and post what you have come up with. You've come a long way in just a few days and I don't think that it's asking too much to ask you to follow the Posting Guidelines.
Here's a hint: Phone numbers should be stored as strings, not numeric values.
Oct 29 '07 #3
DDCane
16
The voting worked perfect. it was exactly what i needed.
the only reason im asking alot is cuz i have a dead line next week and i got alot to get done that is kinda hard for me.

Here's a hint: Phone numbers should be stored as strings, not numeric values.
Oct 29 '07 #4
bartonc
6,596 Expert 4TB
The voting worked perfect. it was exactly what i needed.
the only reason im asking alot is cuz i have a dead line next week and i got alot to get done that is kinda hard for me.
That's OK. But this is help forum, not a do-your-work-for-you site.
So, please, post some sort of start so that we can help you get it going.
Oct 29 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Sveta | last post by:
Hi, all! I am new with J2ME. I have application that has form with 2 commands (exit and select). All UI uses are high level API, and it is very important to leave it high-level. This...
2
by: mksql | last post by:
New to Tkinter. Initially, I had some code that was executing button commands at creation, rather than waiting for user action. Some research here gave me a solution, but I am not sure why the...
2
by: Raquel | last post by:
Why can we not give db2 System commands (commands starting with 'db2' like db2ilist, db2look, db2move etc.) through the Command Center? It is so convenient to retrieve and change commands in the...
12
by: Rhino | last post by:
I am having an odd problem: the sqlj command on my system doesn't work. I am running DB2 (LUW) V8 (FP8) on WinXP. I haven't done an sqlj program since Version 6 of DB2 (LUW) so I checked the...
10
by: Siemel Naran | last post by:
Hi. I'm writing a command shell that reads commands from standard input. At this point I have the command in a std::string. Now I want to execute this command in the shell. From the Borland...
2
by: micahstrasser | last post by:
I have been trying for days to send a command to the command prompt through the shell() function in vb.net. For some reason it is not working. Here is the code: Private Sub Button1_Click(ByVal...
4
by: FluffyCat | last post by:
New on November 29, 2005 for www.FluffyCat.com PHP 5 Design Pattern Examples - the Command Pattern. Since you all enjoyed the Visitor Pattern so much yesterday, today I have the Command Pattern...
11
by: jobs239 | last post by:
Can I use this line inside C program "system(java -jar <jarfilename>)" to run a java program from C? Or do I have to use some JNI interface.?
0
by: czerwww | last post by:
Can someone please help me? I have class for database connection and I need set command.commandTimeout. How can I do that? Code: Imports System.Data.SqlClient Imports System.Data Public Class...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.