Re: Trying to get contents of an ifstream AND find file size at same time
  Home FAQ Contact Sign in
comp.lang.c++ only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.c++ Profile…
 Up
Re: Trying to get contents of an ifstream AND find file size at same time         


Author: sebor
Date: May 23, 2007 12:20

On May 23, 9:06 am, "Angus" gmail.com> wrote:
> Hello
>
> Here is my code
>
> std::ifstream myfile;
>
> std::string line;
>
> long begin,end;
>
> myfile.open("c:\\IPlog.txt");
>
> if (myfile.is_open())
>
> {
>
> while (! myfile.eof() )
>
> { ...
Show full article (1.54Kb)
no comments