Exception handling constructs: –

Exception handling constructs: - An exception handling mechanism transfers control and information from a point of exception in a program to an exception handler associated with the try-block. An exception handler will be invoked only by a thrown expression in the code executed by the handler’s try-block or by functions called from the handler’s try-block.... Continue Reading →

Advertisements

Exception handling: –

Exception handling: - The increase in complexity and size of software system and the increase in society’s dependence on the computer system have been accomplished by an increase in the cost associated with their failure. The rising cost of failure in a computer system has stimulated interest in improving software reliability. The two main techniques... Continue Reading →

Write and read function: –

Write and read function: - At the user end, generally the values are represented in ASCII, whereas, inside the machine there are binary equivalent are used. In sorted case, it is not necessary to store information in the form ASCII character. For instance, in a database application storing and integer in binary form instead of... Continue Reading →

Function for manipulation of file pointer: –

Function for manipulation of file pointer: - The C++ I/O system support for function for setting a file pointer to any desired position inside the file or to get the file pointer. These allow the programmer to have control over a pointer in the file where read or write operation text place. These for function... Continue Reading →

File pointer and there manipulator: –

File pointer and there manipulator: - The knowledge of the logical operation at which the current read or write operation occur is of great importance in achieving faster access to information stored in a file. The file management system associates to pointers with each file, called pointer. In C++, they are called get pointer and... Continue Reading →

Hierarchy of file stream class: –

Hierarchy of file stream class: - The file handling technique in C++ support file manipulation in the form of stream object. The stream object are cin and cout which are predefine in iostream.h header file. For file stream, three different classes can be used in C++ program. These classes are used inform of header files.... Continue Reading →

Stream computation with file: –

Stream computation with file: - A computer system stores programs and data in secondary storage in the form of file. Storing program and data permanently in main memory is not preferred due to two main resin. Main memory is usually two small to permanently store all the needed programs and data. Main memory is a... Continue Reading →

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: