473,382 Members | 1,365 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,382 software developers and data experts.

c++ storing and retrieving names and addresses

I am trying to grasp onto this c++. While trying to grasp on, I have to write a program that stores and retrieves a person's name and his address. Would I write a file outside of the program and save it to my c:/ and call for it in my program, or do I add it in to my program and call it later on in the program.
Oct 19 '07 #1
3 1799
gpraghuram
1,275 Expert 1GB
I am trying to grasp onto this c++. While trying to grasp on, I have to write a program that stores and retrieves a person's name and his address. Would I write a file outside of the program and save it to my c:/ and call for it in my program, or do I add it in to my program and call it later on in the program.

HI,
The name and address you want to access will be entered by the user when he is running it then get it inside the program or else you can enter the values in a text file and save it.

Raghuram
Oct 19 '07 #2
So when submitting my program code, so I would need to submit the file with it?
Oct 19 '07 #3
oler1s
671 Expert 512MB
For your assignment, isn't the format of the file with the names and addresses specified? If it isn't, it would be a good idea to indicate what you have decided the format of the file to be.

But if it is decided by whoever gave you the assignment, then no need, right?
Oct 19 '07 #4

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

Similar topics

0
by: David Morgan | last post by:
Hello I am trying to write a routine that will retrieve all the messages in my SMTP Service Drop Folder and process them one by one based on the address(es) to which the mail was sent. When...
0
by: Ryan Roberts | last post by:
I'm looking for a way (or a link showing a way) to access the names and e-mail addresses in a MS Exchange datasource and put them into a .NET application's listbox. The look-and-feel I'm seeking...
5
by: Don Vaillancourt | last post by:
I'm building a system when one can upload a document to the website. I will be storing the document on the hard-drive for quick/easy access, but I was also thinking of storing it in an existing...
14
by: Luiz Antonio Gomes Pican?o | last post by:
How i can store a variable length data in file ? I want to do it using pure C, without existing databases. I'm thinking to use pages to store data. Anyone has idea for the file format ? I...
2
by: newhand | last post by:
If somehow a bunch of function names in string can be passed into an executible, is it possible that for each name call, it will trigger the corresponding function of that name? Of course, this can...
2
by: Gitesh | last post by:
Hi All, Could anyone help me out with storing PDFs into Oracle DB and then retrieving and displaying it back in the browser. Thanks in Advance, Gitesh
6
by: yasodhai | last post by:
Hi, I used a dropdown control which is binded to a datagrid control. I passed the values to the dropdownlist from the database using a function as follows in the aspx itself. <asp:DropDownList...
1
by: ashishdubey | last post by:
Hi folks I am newbie in this mail api arena.what i am trying to do is storing and retrieving the messages in the database.but whenever i get the message from database and try to preview it(A...
2
by: banderson | last post by:
Hello, I have a data entry form for a table with information about buildings and am having a problem making a combo box do what I want. I would like to make the combo box show a list of unique bldg...
6
by: Guy Macon | last post by:
While I agree with the sentiment, the oringinal title on this thread ("OT: Specially for , why you should always use example.com for obfuscating domains") is wrong. There are other reserved domain...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.