1、cocos2d支持python,创建项目都可以用它自带的脚本, 所以第一步下载安装python, 然后配置系统环境变量, 让操作系统支持python脚本, 能找到二进制文件
地址: https://www.python.org/
2、下载cocos2d-x 3.0 源码,解压
地址: http://www.cocos2d-x.org/...
分类:
其他好文 时间:
2014-07-22 23:00:33
阅读次数:
283
【题目】
Problem E
Open Credit System
Input: Standard Input
Output: Standard Output
In an open credit system, the students can choose any course they like, but there is a problem. Some of the stude...
分类:
其他好文 时间:
2014-05-03 00:22:50
阅读次数:
380
首先用package system安装android-mode, 然后编辑~/.emacs.d/init.el文件,添加下面几行:(require 'android-mode)
(setq android-mode-sdk-dir "/opt/android-sdk-linux/")现在重新启动emacs,然后M-x 中运行命令android-start-emulator此时会提示输入Androi...
分类:
移动开发 时间:
2014-05-02 22:49:40
阅读次数:
561
一,socket 模块
套接字包括两类:服务器,客户机,
创建一个套接字后让它等待连接
服务器:
import socket
s = socket.socket()
port = 1234
host = socket.gethostname()
print host
s.bind((host,port))
s.listen(5)
while True:
get,addr = s...
分类:
编程语言 时间:
2014-05-02 21:59:57
阅读次数:
444
Okay for centos 6.4 also On apu.0xdata.loc,
after this install was done$ which python /usr/local/bin/python$ python -VPython
2.7.3$ ls -ltr /usr/local...
分类:
编程语言 时间:
2014-05-02 12:53:59
阅读次数:
609
界面很简单//玩家类using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Threading.Tasks;namespace 猜拳游戏{ /// //...
分类:
其他好文 时间:
2014-05-02 12:04:15
阅读次数:
292
总用有两个文件(frmMain.cs
SqlHelper.cs)//frmMain.cs//作者:Meusing System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
S...
分类:
数据库 时间:
2014-05-02 00:24:24
阅读次数:
499
关键字:system_dntb/确定有 system_dntb/uploadimg.aspx
并能打开,这时候是不能上传的,由于他是验证cookie来得出上传后的路径,这样我们可以用cookie欺骗工具。cookie:UserType=0;
IsEdition=0; Info=1; uploadFo...
分类:
Web程序 时间:
2014-05-02 00:19:15
阅读次数:
883
自己在看笨方法学python这本书,把自己觉得有学到东西的记下来,并不是每个习题都有记录
这次对应的是:习题 6: 字符串(string)和文本
这次只要是想说明一下,在print语句中,只要带有格式化字符的,会当作格式化来处理
脚本1:
结果1:
打出的结果没有%r,那是因为当作格式化处理了
脚本2:
结果2:
会报错,因为print ...
分类:
编程语言 时间:
2014-05-01 18:24:36
阅读次数:
301