Getting size of file?
-
I am opening and reading from a text file and am trying to figure out the function to get the size of the file. Windows reports the file as being 33KB, and I want my program to be able to report that as well. Appreciate the help.
CFile::GetStatus()
/ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com -
CFile::GetStatus()
/ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.comOr lseek() to end of the file or ftell() for the old fashioned streams. Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
-
I am opening and reading from a text file and am trying to figure out the function to get the size of the file. Windows reports the file as being 33KB, and I want my program to be able to report that as well. Appreciate the help.
GetFileSize()
comes to mind.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
GetFileSize()
comes to mind.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow