From: lsantil AT calstatela DOT edu Date: Wed, 17 Jun 1998 23:50:47 -0700 (PDT) Message-Id: <199806180650.XAA11814@neptune.calstatela.edu> To: djgpp AT delorie DOT com Subject: File length in C++? Cc: lsantil AT calstatela DOT edu Precedence: bulk Does anybody know how I could get the size of a ifstream file w/o actually going thru & counting each char? The filelength func requires that you pass a file handle that you get from the macro fileno in io.h so this method would not help.