c++ program for Direct Access File ,Collision handling throgh linear probing with chaining and without replacement



Direct Access File ,Collision handling throgh linear probing with chaining and without replacement



OUTPUT:

1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:2

Enter a record to be inserted(roll no,name,marks) : 155 Nilesh 76


1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:2

Enter a record to be inserted(roll no,name,marks) : 45 Komal 88


1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:2

Enter a record to be inserted(roll no,name,marks) : 90 Ashish 70


1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:4

Enter a roll no. : 45

 Record No.:  6
6) 45  Komal  88 -1

1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:1
*********Data File*********

0) 90  Ashish  70 -1
1) ***** Empty  ********
2) ***** Empty  ********
3) ***** Empty  ********
4) ***** Empty  ********
5) 155  Nilesh  76 6
6) 45  Komal  88 -1
7) ***** Empty  ********
8) ***** Empty  ********
9) ***** Empty  ********

1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:3

Enter the roll no.:45


1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:1

*********Data File*********

0) 90  Ashish  70 -1
1) ***** Empty  ********
2) ***** Empty  ********
3) ***** Empty  ********
4) ***** Empty  ********
5) 155  Nilesh  76 -1
6) ***** Empty  ********
7) ***** Empty  ********
8) ***** Empty  ********
9) ***** Empty  ********

1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:5