PDA

View Full Version : Specification of aj.Udom Assignment2.



rx7
04-01-2003, 08:45 PM
nter-year assignment

Due 7 Jan 2003 (in-class)
Teams : 3 people, same as assignment 1

MENU (repeated until quit) 100 marks
====
1. Read input data file name => open (text/ASCII)
2. Re-create index file
3. Input a search key => return the associated data to the key
4. List the whole data file
5. Quit

Option + 15 marks
======
Multi-level ISAM

Spec
====
1. 2-3 Data files @with at least 200 records (already sorted)
2. Each record is 32 byte long : 10 byte-key + 22 byte-data
3. 16 byte long index record : 10 byte-key + 6 byte-offset
4. if index does not exist, a new one must be created once the re-create index option (menu 2) is selected.

MIB_X
05-01-2003, 06:42 PM
Thank sa lot

Crovax
12-01-2003, 02:13 AM
ขอบจาย
แต่ยังทำไม่ได้เลยฟะ
งง ฉิบ
ใช้ fstream ไม่ถูก