摘要:
如果你想在当前目录下 查找"hello,world!"字符串,可以这样: grep -rn "hello,world!" * 阅读全文
摘要:
判断目录是否存在: QString proFile(t_path); proFile.append("/dir"); QFileInfo proFileInfo(proFile); if(proFileInfo.exists()) { // } 新建目录 QString t_tmpDir(theDi 阅读全文
摘要:
CPaintDC dc(this); if (!m_hBitmap) return; image.Attach(m_hBitmap); CRect rect; GetClientRect(&rect);//获得控件所在的矩形区域 int width = rect.Width(); int heigh 阅读全文