#include #include void main() { struct _finddata_t fileinfo; long handle; int rc; /* Display name and size of "*.c" files */ handle = _findfirst( "*.c", &fileinfo ); rc = handle; while( rc != -1 ) { printf( "%14s %10ld\n", fileinfo.name, fileinfo.size ); rc = _findnext( handle, &fileinfo ); } _findclose( handle ); }