Hello..,,
I have read about a function used in file handling named as "peek".
If anyone knows about this function then plz tell me.....
sara khan 0 Light Poster
Recommended Answers
Jump to Postpeek basically reads the next available character without moving the file pointer.
for example if text file contains the following text
Hello, World
and if you execute the following psuedo Code
int main () { // open stream. char v = f.peek(); // the below line …
All 4 Replies
jen140 0 Junior Poster
Laiq Ahmed 42 Junior Poster
sara khan 0 Light Poster
VernonDozier 2,218 Posting Expert Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.