1. 在Linux平台下编译安装wxWidgets和Codeblocks,搭建GUI程序开发平台
2. 编写GUI程序,检测当前计算机的配置:
1) 在工作区以适当的方式输出the description of the current platform, the amount of free memory, the current host machine's name等;
2) 在状态栏实时显示当前时间。
3. 编写GUI程序,实现一个XX信息管理系统。要求用户可以选择进行输入或输出:
1) 可以把对应信...
分类:
其他好文 时间:
2014-05-08 10:48:07
阅读次数:
283
Struts2出现错误,总是提示"There is no Action mapped for
namespace / and action name"的错误。 错误代码如下: 09:36:13,515 WARN [Dispatcher] Could
not find action or result...
分类:
移动开发 时间:
2014-05-08 10:26:18
阅读次数:
525
这小例子只要是说明用python怎么批量修改指定目录的文件名:
记得要把脚本跟修改的文件放在同一个目录下
#encoding:utf-8
import os
import sys
files = os.listdir('D:\\1') #路径可以自己
for name in files:
a = os.path.splitext(name)
if a[1] == '.txt': ...
分类:
编程语言 时间:
2014-05-08 08:16:14
阅读次数:
537
#include
#include
using namespace std;
class CPerson
{
protected:
char *m_szName;
char *m_szId;
int m_nSex;//0:women,1:man
int m_nAge;
public:
CPerson(char *name,char *id,int sex,int age);
voi...
分类:
其他好文 时间:
2014-05-08 08:15:08
阅读次数:
250
解决V9缩略图模糊/libs/classes/image.class.php注释掉elseimagecopyresized($thumbimg,$srcimg,0,0,$psrc_x,$psrc_y,$width,$height,$srcwidth,$srcheight);另将102行的$image...
分类:
Web程序 时间:
2014-05-08 07:43:20
阅读次数:
391
hive 中的union all是不能在sql语句的第一层使用的,否则会报Top level
UNION is not supported currently 错误;例如如下的方式:select id,name from user where type
= 1union allselect id,n...
分类:
其他好文 时间:
2014-05-08 07:17:42
阅读次数:
420
1,下载MongoDB数据库扩展介质wget
http://pecl.php.net/get/mongo-1.5.1.tgz2,tar zxvf mongo-1.5.1.tgz && cd
mongo-1.5.1 && phpize3,find / -name php-config 搜索php配置文...
分类:
数据库 时间:
2014-05-08 06:59:08
阅读次数:
327
其实很简单,就是实用lpadmin命令,下面给出一个例子:
printername="YOUR_PRINTER_NAME"
location="LOCATION INFO"
gui_display_name="HP Color LaserJet M600 in Office for Example"
address="ipp://printserver.yourcompany.org/YOUR_...
分类:
其他好文 时间:
2014-05-08 06:05:55
阅读次数:
303
1、查看物理cpu个数
cat /proc/cupinfo |grep 'physical id'|sort|uniq|wc -l
2、查看一个cpu的物理核数
cat /proc/cupinfo |grep 'core id'|sort|uniq -c|wc -l
或
cat /proc/cupinfo |grep 'cpu cores'|uniq|awk -F ":" '{print...
分类:
系统相关 时间:
2014-05-08 04:07:55
阅读次数:
483
更多内容欢迎访问我的个人网站:www.qingshuimonk.com查看SQLite是一种轻量级关系型数据库,目前支持NULL,INTEGER,REAL(浮点),TEXT(字符串文本),BLOB(二进制文本)这五种类型。建立的数据库文件位于/data/data/package-name/datab...
分类:
移动开发 时间:
2014-05-08 00:50:46
阅读次数:
478