码迷,mamicode.com
首页 >  
搜索关键字:name    ( 94827个结果
Ubuntu下的wxWidgets编程(学生信息管理写入文件,文件格式是.txt)
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
错误There is no Action mapped for namespace / and action name—Struts2
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批量修改指定目录文件名
这小例子只要是说明用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
十一周 项目2 职员有薪水了 扩展
#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
解决phpcms V9缩略图模糊的方法
解决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
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
部署PHP连接操作MongoDB环境
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
OSX: 安装打印机的实用命令行
其实很简单,就是实用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
Linux下获得CPU的信息
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
Android SQLite数据库操作
更多内容欢迎访问我的个人网站:www.qingshuimonk.com查看SQLite是一种轻量级关系型数据库,目前支持NULL,INTEGER,REAL(浮点),TEXT(字符串文本),BLOB(二进制文本)这五种类型。建立的数据库文件位于/data/data/package-name/datab...
分类:移动开发   时间:2014-05-08 00:50:46    阅读次数:478
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!