| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| AusTex |
Posted: Mar 11 2005, 10:29 PM
|
||||
|
Newbie ![]() Group: Members Posts: 3 Member No.: 836 Joined: 26-February 05 |
I was hoping to get some assistance with this C program I am working on. The goal is to find the largest file in the current directory and then display this filename along with the filesize. What I have so far will display all the files in the current directory. But, how do I deal with "grabbing" and displaying the filesize? So far:
Shouldn't something like this work for filesize? It doesn't print the correct size.
Any help would be greatly appreciated. |
||||
![]() |
![]() ![]() ![]() |