Networking, Programming and Graphics Tutorials

Function for manipulation file pointers - C++ [1/2]

Type:
Function for manipulation file pointers - C++
Level: Expert Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials 
Function for manipulation file pointers - C++
Date: 2006-Dec-12
Function for manipulation file pointers - C++
Visited: 1179 times
Function for manipulation file pointers - C++
Rating: Function for manipulation file pointers - C++
Function for manipulation file pointers - C++
Author: Alex Plumpton

Function for manipulation file pointers

Function Description
seekg() Moves get pointer (input) to a specified location
seekp() Moves put pointer(output) to a specified location
tellg() Gives the current position of the get pointer
tellp() Gives the current position of the put pointer
Seekg() and seekp() can also be used with two arguments.

General format 

seekg
(offsetrefposition); 
seekp(offsetrefposition);

offset number of bytes the file pointer is moved from refposition refposition can be ios:: begios::curios:: end

Networking, Programming and Graphics Tutorials - Function for manipulation file pointers - C++ [1/2] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: file pointers and manipulation c++  file pointers and manipulation c++  file pointers and their manipulation  usage of file pointers and their manipulation in c++  Functions for manipulation of file pointers  manipulation of pointers c++  manipulation of pointers  c++ file manipulation  c++ file manipulation  functions for manipulation of file pointer in C++