// Test.cpp : 定义控制台应用程序的入口点。//#include
"../I_Timer.H"#include void onTimer1(){ std::cout createTimer();#if 1 auto
myTimer1 = /*Timer::createTime...
分类:
其他好文 时间:
2014-05-05 23:28:48
阅读次数:
341
把一个在windows写的web程序,移植到新装的ubuntu上来。由于新装的ubuntu装的上APACHE2,
在配置文件上跟老的apache有区别, 没太注意。原来的web程序是用ThinkPHP写的,
移植过来后在url上出老点差错。于是开始纠结的找问题。由于thinkphp的url需要重写,...
分类:
其他好文 时间:
2014-05-05 13:17:19
阅读次数:
311
1、从文件中读取内容
auto sharedFileUtils = FileUtils::getInstance();
std::string ret;
sharedFileUtils->purgeCachedEntries();
std::vector searchPaths = sharedFileUtils->getSearchPath...
分类:
其他好文 时间:
2014-05-04 00:09:23
阅读次数:
408
这是程序代码,我是按照网上和视频讲解的步骤写的代码:import
java.sql.*;public class jdbc {/*** @param args*/public static void main(String[]
args) {// TODO Auto-generated method...
分类:
数据库 时间:
2014-05-03 23:00:11
阅读次数:
385
auto root = Dictionary::create();
auto string = String::create("string element value");
root->setObject(string, "string element key");
auto array = Array::create();
...
分类:
其他好文 时间:
2014-05-03 16:27:48
阅读次数:
380
ORA-01925:maximum of 80 enabled roles exceeded...
分类:
其他好文 时间:
2014-05-03 15:55:33
阅读次数:
296
办公楼里有一个无线AP的SSID的名字稍有不妥,于是改名。改了之后用我的两台Win7笔记本电脑或者台式机连接报错无法连接,但手机或者iPod等设备还能连上。昨天一台WinXP的笔记本,在取消802.11认证之后可以连上,和其它AP比对,这个AP高级设置中802.11d是Enabled,变成Disabled,..
分类:
其他好文 时间:
2014-05-03 14:49:23
阅读次数:
362
linux源码升级内核当前环境:[root@localhost~]#uname-r
2.6.18-348.el5配置流程:1、准备yum库安装g++gcc[root@localhost~]#cat/etc/yum.repos.d/rh_5.9.repo
[rhel-server]
name=Redserver
baseurl=file:///misc/cd/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-..
分类:
系统相关 时间:
2014-05-03 14:40:08
阅读次数:
500
下面是一个小程序,可以很好阐述 关键字:continue,break;
package org.song.loop;
public class TestLoop {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int tot...
分类:
其他好文 时间:
2014-05-03 00:03:21
阅读次数:
311
.h
#include "cocos-ext.h"
#include "ui/CocosGUI.h"
#include "cocostudio/CocoStudio.h"
USING_NS_CC;
USING_NS_CC_EXT;
using namespace ui;
.cpp
auto background = LayerColor::create(Color4B(200,200...
分类:
其他好文 时间:
2014-05-02 21:27:20
阅读次数:
367