hi,
I need to know something about modes of opening a file.
before that a small intro.
We are (bachelor students) using age old Turbo cpp version 3.And
syllabus is old enough to not include STL .
and it's common to skip the last chapters(file,pointer,etc).
now I want to what is the difference b/n ios::app and ios::ate
what I understand is ios::app is for appending to a already existing
file without deleting it contents.
and ios::ate is for cleaning the entire file and start adding data.
but recently I read somewhere that ios::ate is for appending to a file
and the difference b/n ios::app is that the first allows moving file
pointers around and later didn't.
What is the correct answer?
If there is an easy way in STL most welcome.Now I obtain some
tutorials about STL and started to chew it.
also if there is any reference to all namespaces .
I am quiet confused with them after reading file:: and std::
namespaces.
anyway we didn't need to use it here or either doesn't sup****t it in
turbo CPP ver3.
But in home I setup a linux box running with gcc and g++ etc.,
installed.
so I am quiet sure I am use them here.
also whether I can know the headers exist here.
I found that conio.h is not in gcc.
I can't use it here.
Thank You.
With love,
Arun.K.R
[
Atharvan!!!
{333}
ChintaaDaara.blogspot.com
ChintaaDaara.blog.co.in
]
{ "The magic words are squeamish and ossifrage." }
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]