工程文件为AirCode,批处理文件为bulit.bat(与*.sln文件在同级目录)。以下是批处理的代码:echo
%~dp0rem set build_config="Debug|Win32"rem set build_config=$ALLset
build_config="Release|W...
分类:
其他好文 时间:
2014-06-06 21:38:27
阅读次数:
701
今天在fedora下编译cocos2dx工程时,遇到了链接问题,在libcocostudio中有大量未定义的libui函数,就像是cocostudio库没有添加ui库的链接依赖。该工程的确的用到了cocostudio和ui库,按说cocos2dx的默认cmake文件是不应该存在这样的问题才对。查看c...
分类:
其他好文 时间:
2014-06-06 17:32:12
阅读次数:
198
原题地址:https://oj.leetcode.com/problems/triangle/题意:Given
a triangle, find the minimum path sum from top to bottom. Each step you may move
to adjacent n...
分类:
编程语言 时间:
2014-06-06 17:31:34
阅读次数:
397
裸的线段树求区间的最大值。 1 #include 2 #include 3 using
namespace std; 4 5 #define MAXN 262144 6 7 int _v[MAXN > 1;23 build(lso),
build(rso);24 ...
分类:
其他好文 时间:
2014-06-06 15:44:06
阅读次数:
222
/** linux/zBoot/xtract.c** Copyright (C) 1993
Hannu Savolainen** Extracts the system image and writes it to the stdout.* based
on tools/build.c by Lin...
分类:
其他好文 时间:
2014-06-06 15:10:37
阅读次数:
235
下面是一个简单的爬虫程序。#!/usr/bin/env pythonfrom sys
import argvfrom os import makedirs, unlink, sepfrom os.path import dirname,
exists, isdir, splitextfrom str...
分类:
其他好文 时间:
2014-06-05 12:50:50
阅读次数:
341
Robot MotionDescriptionA robot has been
programmed to follow the instructions in its path. Instructions for the next
direction the robot is to move ar...
分类:
其他好文 时间:
2014-06-04 17:56:00
阅读次数:
247
下载语言包,直接把bin路径添加进PATH:Download the file
fromhttp://swiftlang.org/packages/swift-0.94.1.tar.gz.Extract by running "tar
xfz swift-0.94.1.tar.gz"Add to P...
分类:
其他好文 时间:
2014-06-03 14:53:04
阅读次数:
282
pack:数据装入一个二进制字符串http_build_query: 将数组转化成URL
GET参数的形式。get_class:返回对象的类名,注:即使是在父类方法中调用也是返回子类的类名。get_parent_class:返回对象或类的父类名。call_user_func:调用第一个参数所提供的用...
分类:
Web程序 时间:
2014-06-02 19:17:03
阅读次数:
310
我先来阐述一下我认为的gradle项目的优势吧1:语法简单,集成了ant和maven的很多优点,简单的语法和完善的文档造就了其不可估计的前途2:构建容易,一个build.gradle文件,一行指令,即可构建你的项目3:方便导入依赖库
我这个人就喜欢瞎捉摸,虽然不是计算机专业的,但是读研这段时间确.....
分类:
其他好文 时间:
2014-06-02 18:33:05
阅读次数:
323