07 2015 档案
摘要:增加了一个app类 两个文件app.m app.happ.m//// app.m// 应用管理//// Created by YaguangZhu on 15/7/31.// Copyright (c) 2015年 YaguangZhu. All rights reserved.//#imp...
阅读全文
摘要://// ViewController.m// 应用管理//// Created by YaguangZhu on 15/7/31.// Copyright (c) 2015年 YaguangZhu. All rights reserved.//#import "ViewController...
阅读全文
摘要://// ViewController.m// 汤姆猫//// Created by YaguangZhu on 15/7/30.// Copyright (c) 2015年 YaguangZhu. All rights reserved.//#import "ViewController....
阅读全文
摘要://// ViewController.m// transform属性//// Created by YaguangZhu on 15/7/29.// Copyright (c) 2015年 YaguangZhu. All rights reserved.//#import "ViewCon...
阅读全文
摘要://// ViewController.m// 动态创建按钮//// Created by YaguangZhu on 15/7/29.// Copyright (c) 2015年 YaguangZhu. All rights reserved.//#import "ViewControll...
阅读全文
摘要:第一种 头尾式动画 [UIView beginAnimations:nil context:(nil)]; [UIView setAnimationDuration:2]; self.btnIcon.center = centerPoint; [UIView commitAnim...
阅读全文
摘要://// ViewController.m// MovePicture//// Created by YaguangZhu on 15/7/28.// Copyright (c) 2015年 YaguangZhu. All rights reserved.//#import "ViewCon...
阅读全文
摘要://// ViewController.m// MovePicture//// Created by YaguangZhu on 15/7/28.// Copyright (c) 2015年 YaguangZhu. All rights reserved.//#import "ViewCon...
阅读全文
摘要:1.终端输入说英语2.Spotlight快速打开程序3.Spotlight注释功能定位文件4.使用sips命令批量处理图片5.command+I直接打开邮件6.shift+command+delete自动清空废纸篓7.输入du -sh *获悉目录空间8.英文自动完成9.文件操作10.显示隐藏文件11...
阅读全文
摘要:上周发了一个阿里内推的帖子,没想到短时间内就收到了成百上千封简历。我仔仔细细地看了每一封简历,附带有Github地址的我也点进去仔细看了代码。最终我留下了30%的简历,而且这30%中只有10%的本科生。所有通过内推初步筛选的小伙伴会在8月30号收到邮件通知。筛选标准满足以下条件中的任何一个,直接通过...
阅读全文
摘要:原文来自豆瓣http://www.douban.com/note/338067148/glew的英文全称应该是The OpenGL Extension Wrangler Library,直译过来应该就叫OpenGL的扩展库,这里的wrangler原意有牧马人的意思,这里为什么加这个词有点不太清楚。关...
阅读全文
摘要:1.安装GLEW。 大家可以在网上下载安装GLEW库(glew.sourceforge.net)这个主页现在很难上,我喜欢在APT命令安装。在控制台输入:?1sudo apt-get install libglew-dev glew-utils这就完成了。
阅读全文
摘要:#include #include int main(){ int n; while(scanf("%d",&n)==1) { int k =(int)floor((sqrt(8.0*n+1)-1)/2-1e-9)+1; int s = k*(k+1)/...
阅读全文
摘要:CMake简介CMake是一个跨平台的安装(编译)工具,可以用简单的语句来描述所有平台的安装(编译过程)。他能够输出各种各样的makefile或者project文件,能测试编译器所支持的C++特性,类似UNIX下的automake。CMake 使用方法CMake的所有的语句都写在一个叫:CMakeL...
阅读全文
摘要:出现这个编译错误的原因在g++ gcc 版本不够高。添加源(Ubuntu)12$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test$ sudo apt-get update安装4.8版本?1$ sudo apt-get install gcc-4...
阅读全文
摘要:原文链接http://www.ibm.com/developerworks/cn/opensource/os-cn-python-yield/#icomments第一个生成斐波那契數列的方法您可能听说过,带有 yield 的函数在 Python 中被称之为 generator(生成器),何谓 gen...
阅读全文
摘要:#include #include #include using std::string;const int maxn = 1000;struct bign{ int len,s[maxn]; bign(){ memset(s, 0, sizeof(s));len =1;} ...
阅读全文
摘要:#include #include const int maxn =3000;int main(){ int f[maxn]; memset(f, 0, sizeof(f)); int i,j,n;f[0]=1; scanf("%d",&n); for (i=2...
阅读全文
摘要:下载链接:https://sourceforge.net/project/downloading.php?group_id=67586&filename=glew-1.5.1-win32.zip点击上面的链接下载最新的GLEW(支持OpenGL 3.0),解压,将 /bin/glew32.dll 拷...
阅读全文
摘要:原文链接http://blog.csdn.net/tyxkzzf/article/details/40789901今天打开一个OpenGL源码,各种修改之后想要运行看一下效果,结果在我的开发环境下出现缺少相应的dll库:Windows7 64位+VS2010提示:程序无法启动此应用程序,因为计算机中...
阅读全文
摘要:# -*- coding: utf-8 -*-import pygamefrom sys import exitclass Bullet: def __init__(self): #初始化成员变量,x,y,image self.x = 0 self.y...
阅读全文

浙公网安备 33010602011771号