answersLogoWhite

0


Best Answer

The function ftell returns the position of the file pointer for a file.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which function is used to determine the position of the put pointer in a file in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which function is used to determine the position of the put pointer into the file?

tellp()


Which function is used to determine the position of the put pointer in the file?

pos_type tellp();


Which function is used to move file pointer from any position in file in c language?

FILE-level: ftell/fseek, fgetpos/fsetpos handle-level: lseek


What is a function to read chars from a certain position to another position in file in C?

Call functions fread, then function fseek, then function fwrite.


Can a shareable file be opened in a special way so when another process also reads it my process's file pointer is not advanced?

Your process' file pointer has nothing to do with the other process' file pointer.


Functions used for manipulation of file pointer?

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.


What is a file pointer?

A file pointer is an opaque object that refers to a file. Opaque means that you should not attempt to delve into its specific value, other than to use it as a file pointer. FILE *fp; /* fp is the file pointer */ fp = fopen("somefile.txt"); if (fp == NULL) ...{exception}... fprintf(fp, "Hello somefile.txt"); fclose(fp);


What is the different between header file and header pointer?

Header file is a file which is meant to be included into another file during compilation. Examples: string.h, stdio.h, inttypes.h. Header pointer is a pointer to an object called header (for example header of a linked list).


What is an anchor pointer within a marquee?

File


What are the different types of files and how End Of File of a full represented by a pointer?

There are two file types in C++ namely, text file and binary file. In text file EOF or end of file is represented by an end of file character having ASCII 26. In binary files EOF or end of file is represented by NULL in the file pointer


How do you select a file in Macbook air?

Put the cursor (pointer) over the file and click once.


Is it true that passing data by reference enables you to change the value stored in a variable in one file using a function in another file?

Yes, passing a variable by reference gives you a pointer to the original variable, meaning you can change its value from within the function being called and the change will affect the original variable.