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: 964 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: manipulation using file pointers  file pointers manipulation in C++  manipulation of file pointers  manipulation of file pointers  file pointers manipulation   manipulation of pointers in C++  c++ file manipulation  MANIPULATION OF FILE POINTER  end of file pointers C++  file pointers-c++  c++ "file pointers" example  Seekg() function manipulation  pointers to objects  pointers to objects-c++  c++-pointers to objects  c++ pointers to objects  c++ pointers objects  functions and pointers c++ * &  c pointers tutorial  c++ "pointers to objects" tutorial