How to check for filesize..
-
How do I get the size of any file that I am reading in VC++. ifstream myfile; myfile.open(path); THANKS
Is it to solve this problem? If yes, please use the registry or an
ini
file to store your application related information. Those APIs exist for this very purpose.Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
How do I get the size of any file that I am reading in VC++. ifstream myfile; myfile.open(path); THANKS
and you're going to delete your question once someone replied to you ? check the CFile class for any File related operations...
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
and you're going to delete your question once someone replied to you ? check the CFile class for any File related operations...
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
toxcct wrote:
and you're going to delete your question once someone replied to you
Well said. ;)
-
How do I get the size of any file that I am reading in VC++. ifstream myfile; myfile.open(path); THANKS
Have you considering using
GetFileSize()
orGetFileAttributesEx()
?"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
How do I get the size of any file that I am reading in VC++. ifstream myfile; myfile.open(path); THANKS