niewenlong: try { CFileFind finder; char ttt[ 1024 ] = ""; HTREEITEM tmp; CString strWildcard( str_path ); if( deep >= 2 ) { return; } //CTreeCtrl *t = ( CTreeCtrl * )( this->GetDlgItem( IDC_TREE1 ) ); strWildcard += _T( "//*.*" ); TRACE( strWildcard ); TRACE( g____crlf ); // start working for files BOOL bWorking = ( strWildcard ); while ( bWorking ) { bWorking = (); if ( () ) continue; if( NULL == tree ) { tmp = treectrl->InsertItem( () ); } else { memset( ttt, 0, sizeof( ttt ) ); strcat( ttt, () ); //文件名+扩展名 //strcat( ttt, () ); //文件名 strcat( ttt, " " ); //16个 strcat( ttt, " " ); //16个 strcat( ttt, " " ); //16个 strcat( ttt, " " ); //16个 strcat( ttt, " " ); //16个 strcat( ttt, " " ); /
MAC 软件提示已损坏,需要移到废纸篓的解决方法
在VC中怎么遍历一个文件夹下的所有文件和文件夹?