Hi all,
Can you tell about these functions:
seek()
peek()
Thank
Hi all,
Can you tell about these functions:
seek()
peek()
Thank
I can tell you they're not standard C.
So you need to specify some context - like which compiler you're using.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I am using gcc and cc compilers
They're debug functions. They stand for:
super-eek -- a really bad problem has occurred...
possible-eek -- there may be a problem...
Compile with -Debug to use them.
Quzah.
Hope is the first step on the road to disappointment.
They are standard C++ functions: http://www.cppreference.com/cppio/all.html
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.