Thursday, July 9, 2009

Write a c programe to sort a list of student according to roll numbers using files and structures.?

u can use any functions of c but files and structures are cumpolsory. u need to store the information in one file.sort the information in file and display sorted contents.but again if i open later and wish to enter some more names then the names entered later should also get sorted and it should be displayed is the same file with the previous names.finally whatever i enter and whenever i enter i should get a sorted list. which is sorted according to roll numbers.u can take student name and roll number in one structure.

Write a c programe to sort a list of student according to roll numbers using files and structures.?
Nice try. I've done a very similar program in C and it's not very hard. If you don't do it yourself how do you expect to learn enough to pass the final? Give it a shot, starting with basic file input requests and proceed to include the required complexities. When you have trouble, go to your professor or teacher or aide and ask for assistance. That's what they're there for, and once they see you're putting in a little effort, will be glad to help you and give you the benefit of the doubt if you're borderline between grades at the end.


No comments:

Post a Comment