02 2016 档案
摘要:#查看系统内核/操作系统/CPU信息 uname -a #返回:内核名 主机名 Linux内核版本 内核编译日期 操作系统版本 CPU型号 硬件平台 GNU/Linux#查看系统是32位还是64位uname -m#返回:i386到i686是32位,是x86_64则是64位 #查看操作系统版本 head -n 1 /etc/issue #查看gcc或者g+...
阅读全文
摘要:如果你想在当前目录下 查找"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
阅读全文

浙公网安备 33010602011771号