用cocos2d-x获取系统时间,格式为年月日时分秒:void GetTime(float dt) { struct tm *tm;#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) //win32平台 time_t timep; ...
分类:
其他好文 时间:
2014-07-22 23:06:32
阅读次数:
355
系统信息:Centos 6.5 i386 GUN/Linux1. 首先安装一个epel rpm-ivhhttp://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm2. 安装wine yuminstallwine 完毕!
1 using System; 2 using System.Threading; 3 4 public class Example 5 { 6 // mre is used to block and release threads manually. It is 7 ...
分类:
其他好文 时间:
2014-07-22 22:45:33
阅读次数:
239
题目:Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integ....
分类:
编程语言 时间:
2014-07-22 22:42:33
阅读次数:
218
题目:Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array w...
分类:
编程语言 时间:
2014-07-22 22:41:14
阅读次数:
396
我的入职指导老师,是部门最优秀的测试人员之一,负责测试业务最复杂的模块,是非常认真、负责的人。因为跟着她学测试,对她自己负责的模块,我也会去看一下。偶尔会发现,她刚测试完毕打到harvest release阶段的包,程序有个小问题。她肯定也意思到了单人测试(SingleTesting),测试遗漏.....
分类:
其他好文 时间:
2014-07-22 22:39:32
阅读次数:
201
1、检查机器 ? ???在操作中发现访问外网的机器本身不能使用yum 安装软件,故需要配置yum安装源。如果可以的,这步可忽略。 [root@localhost?test]#?lsb_release?-a
LSB?Version:????:core-4.0-amd64...
分类:
系统相关 时间:
2014-07-22 22:38:15
阅读次数:
530
利用js打开一个新页面,而不是一个新窗口。在网上各种东西啊,蛋疼了半天,还白疼了。。后来看到a标签有target属性,然后又发现window.open()的第二个参数是target,然后我笑了(er'zhe)w3school上的target属性,点我,大家可以打开新页面了,也可以打开新窗口了。我只写...
1、游戏对象新建默认位置是Scene视图中心位置坐标;;Component:游戏对象实现其用途的功能件;游戏对象都有Transform组件;给游戏对象添加组件Ctrl+Shift+A;2、7类组件:空对象添加组件后形成游戏对象;命名要规范统一;Mesh类组件(MeshFilter网格过滤器、TextMesh文字网格、..
分类:
其他好文 时间:
2014-07-22 18:12:02
阅读次数:
448
1.当类没有包名时
javac Test.java
java Test
2.当有包名情况下 package com.me.Test;
javac -d . Test.java
java com.me.Test...
分类:
编程语言 时间:
2014-07-22 18:04:01
阅读次数:
273