c++ program for Direct Access File ,Collision handling throgh linear probing with chaining and with replacement
08:23Direct Access File ,Collision handling throgh linear probing with chaining and with 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) : 101 Nisha 98
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 Amit 67
1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:2
Enter a record to be inserted(roll no,name,marks) : 145 Sonal 87
1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:1
*********Data File*********
0) ***** Empty ********
1) 101 Nisha 98 -1
2) ***** Empty ********
3) ***** Empty ********
4) ***** Empty ********
5) 155 Amit 67 6
6) 145 Sonal 87 -1
7) ***** Empty ********
8) ***** Empty ********
9) ***** Empty ********
1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:4
Enter a roll no. : 155
Record No.: 5
5) 155 Amit 67 6
1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:3
Enter the roll no.:101
1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:1
*********Data File*********
0) ***** Empty ********
1) ***** Empty ********
2) ***** Empty ********
3) ***** Empty ********
4) ***** Empty ********
5) 155 Amit 67 6
6) 145 Sonal 87 -1
7) ***** Empty ********
8) ***** Empty ********
9) ***** Empty ********
1)Print
2)Insert
3)Delete
4)Search
5)Quit
Enter Your Choice:5
0 comments: