c++ program to implement Direct Access File ,Linear probing without chaining



Direct Access File ,Linear probing without chaining



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) : 101 Mangesh 99


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

Enter a record to be inserted(roll no,name,marks) : 105 Ramnath 78


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

Enter a record to be inserted(roll no,name,marks) : 109 Sahil 66


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

0) ***** Empty  ********
1) 101  Mangesh  99
2) ***** Empty  ********
3) ***** Empty  ********
4) ***** Empty  ********
5) 105  Ramnath  78
6) ***** Empty  ********
7) ***** Empty  ********
8) ***** Empty  ********
9) 109  Sahil  66

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

Enter a roll no. : 105

 Record No.:  5
5) 105  Ramnath  78

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

Enter the roll no.:109


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

0) ***** Empty  ********
1) 101  Mangesh  99
2) ***** Empty  ********
3) ***** Empty  ********
4) ***** Empty  ********
5) 105  Ramnath  78
6) ***** Empty  ********
7) ***** Empty  ********
8) ***** Empty  ********
9) ***** Empty  ********

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