由於本人在嘗試安裝軟體時缺了一些東西,便用yum下載
yum install -y ld-linux.so.2
跪著讀 發表在 痞客邦 留言(0) 人氣(3,379)

會要設定精準的寬度是因為後面static text後面有時候要接Edit control
如果寬度設定不夠精準就會發生離很遠的情況
跪著讀 發表在 痞客邦 留言(0) 人氣(1,216)
跪著讀 發表在 痞客邦 留言(0) 人氣(305)
跪著讀 發表在 痞客邦 留言(0) 人氣(727)
// create dir (if dir doesn't exist)
// dst是full path
for ( int i = 3, cur = 3; i < dst.GetLength(); i++ ) { // 3是因為有"C:\",把C槽本身當作一個資料夾
if ( dst.GetAt(i) == L'\\' ) {
if (!CFile::GetStatus(dst.Left(i), filestatus) ) // 判斷當前路徑如果不存在
if ( !CreateDirectory(dst.Left(i), NULL) ) // 如果建立資料夾失敗
MessageBox(NULL,L"create dir fail!",L"ppppppppp",MB_OK);
} // end if
}
跪著讀 發表在 痞客邦 留言(0) 人氣(1,037)