English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a project in c++. thing is i have to do it using file handling and i dont have any good ideas!
please help!i dont need the source codes, just the idea.

2006-07-07 20:38:07 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

send the query to my email. I will solve it..

2006-07-07 20:40:23 · answer #1 · answered by Anonymous · 0 0

How about the old standby: Write a simple address book application.

You accept input or Firstname, Lastname, phone#, and append these to a file. (There's your FileIO)

You read them back out of the file, sort them by Lastname, Firstname and display them.

2006-07-07 20:42:12 · answer #2 · answered by Gizmo L 4 · 0 0

Just define a file in a header (*.h)

then open the file with fopen

Nothing more too it than that

C++ isn't any more complicated than ANSi C.


good luck,
Buster

2006-07-07 20:50:56 · answer #3 · answered by Anonymous · 0 0

the best judgment for this study the first record via loading it in an Xml record. load yet another record in yet another xml record and take its outerxml and append it into the first one and then save the first record. XmlDocument xmlfile1=null; XmlDocument xmlfile2=null; attempt { xmlfile1 =new XmlDocuiment(); xmlfile1.Load(""); xmlfile2 =new XmlDocuiment(); xmlfile2.Load(""); xmlfile1.DocumentElement.InnerXml+=xml..... xmlfile1.save((""); } grab(Exception e) { throw e; } finally { if (xmlfile1!=null) xmlfile1=null; if (xmlfile2!=null) xmlfile2=null; } so instantly ahead it really is it .

2016-11-01 10:35:07 · answer #4 · answered by lurette 4 · 0 0

www.codeproject.com

2006-07-07 20:42:29 · answer #5 · answered by glenfine1952 2 · 0 0

fedest.com, questions and answers