User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 374,614 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,289 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:

Check the size of a file

Join Date: Feb 2008
Posts: 433
Reputation: Jennifer84 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
Jennifer84 Jennifer84 is offline Offline
Posting Pro in Training

Re: Check the size of a file

  #5  
May 9th, 2008
Yes ofcourse, I forgot to write .txt in the end of the path. I did it in the post but not in my code.
Now it works.

string path = string path = "C:\\Folder1\\Folder2\\OneFile.txt";
Last edited by Jennifer84 : May 9th, 2008 at 7:55 pm.
Reply With Quote  
All times are GMT -4. The time now is 8:51 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC