上一页 1 ··· 85 86 87 88 89 90 91 92 93 ··· 95 下一页
摘要: //贝神杰作,仅作记录,以后学习#define GDIPVER 0x0110 //定义高版本的GDI+(1.1)#include #include #include #include #include #pragma comment(lib,"GdiPlus.lib")using namespa... 阅读全文
posted @ 2012-11-14 20:11 N3verL4nd 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 滑雪 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 62080 Accepted: 22676 Description Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速... 阅读全文
posted @ 2012-11-14 18:53 N3verL4nd 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Prime Ring Problem Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 15175 Accepted Submi... 阅读全文
posted @ 2012-11-13 20:41 N3verL4nd 阅读(108) 评论(0) 推荐(0) 编辑
摘要: #include#includeint main(){ char p[] = "1234567890"; char *ppp = p; for(int i = 0; i #includeint main(){ char p[] = "1234567890"; char *ppp = p; for... 阅读全文
posted @ 2012-11-13 19:24 N3verL4nd 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 对于const,编辑器仅仅做纸面上的检查,如#define。 const int x = 10; cout<<x<<endl; 实际上在编译阶段,已经替换为: cout<<10<<endl; (VS2010) 问题1:const变量&常量 例:为什么下面的例子在使用一个c... 阅读全文
posted @ 2012-11-13 14:10 N3verL4nd 阅读(123) 评论(0) 推荐(0) 编辑
摘要: .dsw---- 这种类型的文件在VC中是级别最高的,称为Workspace文件 .dsp---- 在VC中,应用程序是以Project的形式存在的,Project文件的扩展名为.dsp,在Workspace文件中可以包含多个Project,由Workspace文件对它们进行统一的协调和管理,每... 阅读全文
posted @ 2012-11-12 18:16 N3verL4nd 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 连连看 Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 10796 Accepted Submission(s): 286... 阅读全文
posted @ 2012-11-12 08:16 N3verL4nd 阅读(133) 评论(0) 推荐(0) 编辑
摘要: #include#include using namespace std;int main(){ int num[3][4] = {{1,2,3,4},{2,3,4,5},{3,4,5,6}}; int (*p)[4] = num; /*for(p=num;p!=num+3;p++) { fo... 阅读全文
posted @ 2012-11-11 16:32 N3verL4nd 阅读(136) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;int main(){ char *s = (char*)malloc(10); cout<<s<<endl; char p[10]; cout<<p<<endl;} 出现以上原因都是由于内存没有初始化造成的,而对于栈中内存如果没有... 阅读全文
posted @ 2012-11-11 14:52 N3verL4nd 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 关于对ACM OJ大数据递归栈溢出问题的解决方案 Posted by This_poet on 2012-08-15 编辑 问题来源 我在为参加NOIP的同学出模拟题的时候,免不得去BNU、HDU这些我校同学不常去的题库上面找题来强化或改编。今天我去找了BNU Contest上的一道题,涉... 阅读全文
posted @ 2012-11-11 14:12 N3verL4nd 阅读(507) 评论(0) 推荐(0) 编辑
上一页 1 ··· 85 86 87 88 89 90 91 92 93 ··· 95 下一页