Functions_used_for_manipulation_of_file_pointers_are_as_follows:">Functions used for manipulation of file pointers are as follows:
seekg():_Moves_get_pointer_(input)_to_a_specified_location.">seekg():Moves get pointer (input) to a specified location.
seekp():_Moves_put_pointer_(output)_to_a_specified_location.">seekp():Moves put pointer (output) to a specified location.
tellg():_Gives_the_current_position_of_the_get_pointer.">tellg():Gives the current position of the get pointer.
tellp():_Gives_the_current_position_of_the_put_pointer.">tellp():Gives the current position of the put pointer.
The seekg & tellg functions are associated with get pointer and seekp & tellp functions are associated with put pointer.
pos_type tellp();
FILE-level: ftell/fseek, fgetpos/fsetpos handle-level: lseek
The this pointer can only be used within nonstatic member functions. Friend functions are not members so they have no access to a this pointer. However, you can pass a specific instance of a class to a function via a class reference argument. To understand how friendship works, first understand that a nonstatic member function has the following properties: 1. It has private access to the class. 2. It is scoped to the class. 3. It must be invoked upon an object of the class (has a this pointer). Static member functions have the first two properties while friend functions only have the first property.
They are very important. The most commonly used functions are the string and file handling ones.
Virtual functions are used to suport runtime polymorphism.In C++,if we have inheritance and we have overridden functions in the inherited classes,we can declare a base class pointer and make it to point to the objects of derived classes.When we give a keyword virtual to the base class functions,the compiler will no do static binding,so during runtime ,the base class pointer can be used to call the functions of the derived classes.Thus virtual functions support dynamic polymorphism.
The function ftell returns the position of the file pointer for a file.
tellp()
pos_type tellp();
FILE-level: ftell/fseek, fgetpos/fsetpos handle-level: lseek
The this pointer can only be used within nonstatic member functions. Friend functions are not members so they have no access to a this pointer. However, you can pass a specific instance of a class to a function via a class reference argument. To understand how friendship works, first understand that a nonstatic member function has the following properties: 1. It has private access to the class. 2. It is scoped to the class. 3. It must be invoked upon an object of the class (has a this pointer). Static member functions have the first two properties while friend functions only have the first property.
A header file is used in some languages to declare functions that will be used but are not yet defined in the current source code. This is primarily used by C and C++, and usually for library functions and user-defined functions that are stored in separate files and folders than the main source code file.
They are very important. The most commonly used functions are the string and file handling ones.
Virtual functions are used to suport runtime polymorphism.In C++,if we have inheritance and we have overridden functions in the inherited classes,we can declare a base class pointer and make it to point to the objects of derived classes.When we give a keyword virtual to the base class functions,the compiler will no do static binding,so during runtime ,the base class pointer can be used to call the functions of the derived classes.Thus virtual functions support dynamic polymorphism.
This is a file used for mathematical computation. It may store text/documents, audio, images, and functions.
stdio.h
As per the MCSE guide to Windows XP Professional second edition pg. 317 the answer is FTP.
WikiAnswers does not provide information about illegal acts, such as cracking other computers through pointer manipulation.