May 2012
Intermediate to advanced
679 pages
16h 56m
English
What are the various methods of classifying files?
What are the advantages of binary file?
What are the advantages of text files?
What are the advantages of Random Access Files?
What are the operations on files? Illustrate with examples.
Describe various classes available for file operations.
How do we check for errors upon opening a file and output the correct error message?
Write a program to read bio-data from the console and write to a file. Filename should be accepted from command line.
Create a class “TextFile” for handling text files.
Write a program to read your name roll number, address, physics, chemistry, and maths marks from keyboard and place it in file.
Write a function named fcheck() that checks whether a ...
Read now
Unlock full access