2011年4月10日

摘要: 转载自百度空间到www.CodeBlocks.org下载并安装带MinGW版本的CodeBlocks。(带MinGW可以省掉安装和配置MinGW(即GCC)编译器的麻烦。当然如果用其他编译器请自行安装。)安装的时候如果不选择完全安装,请注意配置插件中你希望用到的插件,比较重要的是快捷键设置插件。因为默认代码补全功能快捷键ctrl+space和输入法冲突。到www.wxWidgets.org下载并安装wxWidgets,只开发Windows程序可以只下载wxMSW版本,也可以下载wxAll版本。编译wxWidgets,编译过程大概30分钟。编译前先把CodeBlocks安装目录下的MinGW\b 阅读全文
posted @ 2011-04-10 17:07 小影帆 阅读(1918) 评论(0) 推荐(0) 编辑

2010年12月14日

摘要: Class 1lesson 1:Do not play a strictly dominated strategy.lesson 2:Rational choice can lead to outcomes that “suck”lesson 3:You can not get what you want,till you know that what you want.lesson 4:Put yourself in other’s shoes and try to figure out what they will do.lesson 5:Yale students are evil.(l 阅读全文
posted @ 2010-12-14 17:03 小影帆 阅读(206) 评论(0) 推荐(0) 编辑

2010年8月20日

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1#include<iostream>2usingnamespacestd;3#defineMAX10004inta[MAX],b[MAX],c[MAX],flag;5intlenr,lena,lenb,lenc,len,temp,digit;6charr[MAX];78intmain()9{10inti,j,k,n;11while(scanf("%s%d",r, 阅读全文
posted @ 2010-08-20 18:15 小影帆 阅读(266) 评论(0) 推荐(0) 编辑

2009年8月21日

摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include int main() { long i; int j; printf("Please input number:");scanf("%ld",&i); for(j=999;j>=100;j—) if(i%j==0){ printf("The max factor with 3 digits in %ld i 阅读全文
posted @ 2009-08-21 10:49 小影帆 阅读(162) 评论(0) 推荐(0) 编辑

2009年5月21日

摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1#include<stdio.h>2#definemax1003typedefstruct4{5intmoney;6charname[14];7}people;8peoplehuman[10];9intanlay(charname[],intn)10{11inti;12for(i=1;i<=n;i++){13if(strcmp(human[i].name,name)= 阅读全文
posted @ 2009-05-21 18:24 小影帆 阅读(155) 评论(0) 推荐(0) 编辑

2009年5月19日

摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1#include<stdio.h>2#definemax173intdata[max][max];4intt;5interfen(inti,intj,intsx,intsy,intn)6{7if(n==1)return;8n=n/2;intnum;num=t++;9if(sx<i+n&&sy<j+n)10erfen(i,j,sx,sy,n);11 阅读全文
posted @ 2009-05-19 16:53 小影帆 阅读(286) 评论(1) 推荐(0) 编辑

导航