C code
Alternately getline method can be used in C++.
Here is the code
ifstream file("fileName.txt");
while (getline(file,buffer,'\n')) {
// parse the buffer to get the desired data
// over write the data. in the end the last data will be saved.
}
Subscribe to:
Post Comments (Atom)
Down with the Dictatorship!
"Let them hate me, so that they fear me" - Caligula 41AD
-
To install pngwrite we need to install to helper library before we install pngwriter. 1. libpng 2. freetype2 We can use fink or macport to i...
-
Health benefit and values
-
It started on a rainy day. So1ace was one of the best friends I had ever in my life. He arrived in my life on 29th January 2013. I spent 3 ...
No comments:
Post a Comment