会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
河边上的傻瓜
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
下一页
2015年7月6日
程序无法启动此应用程序,因为计算机中丢失glut32.dll
摘要: 原文链接http://blog.csdn.net/tyxkzzf/article/details/40789901今天打开一个OpenGL源码,各种修改之后想要运行看一下效果,结果在我的开发环境下出现缺少相应的dll库:Windows7 64位+VS2010提示:程序无法启动此应用程序,因为计算机中...
阅读全文
posted @ 2015-07-06 10:09 微博和csdn还有你
阅读(702)
评论(0)
推荐(0)
2015年7月1日
打飞机游戏【来源于Crossin的编程教室 http://chuansong.me/account/crossincode 】
摘要: # -*- coding: utf-8 -*-import pygamefrom sys import exitclass Bullet: def __init__(self): #初始化成员变量,x,y,image self.x = 0 self.y...
阅读全文
posted @ 2015-07-01 11:17 微博和csdn还有你
阅读(677)
评论(0)
推荐(0)
2015年6月30日
python面向对象 格式很重要
摘要: class Vehicle: def __int__(self,speed): self.speed=speed def drive(self,distance): print 'need %f hour(s)'%(distance/self....
阅读全文
posted @ 2015-06-30 08:54 微博和csdn还有你
阅读(255)
评论(0)
推荐(0)
2015年6月12日
【WERTYU】键盘上输错一位
摘要: #include #include #includeusing namespace std;char *s ="`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./";int main(){ int i,c; while((c=ge...
阅读全文
posted @ 2015-06-12 09:35 微博和csdn还有你
阅读(271)
评论(0)
推荐(0)
2015年6月10日
结构体 数组 指针
摘要: #include #include #includeusing namespace std;int main(){ //定义结构类型 struct human { char name[10]; int sex; int age; }; //声...
阅读全文
posted @ 2015-06-10 19:28 微博和csdn还有你
阅读(281)
评论(0)
推荐(0)
运动员排成绩————————对多个数组进行排序
摘要: // 声明用于存放运动员号码的数组 int h[]={1001,1002,1003,1004}; // 声明用于存放运动员成绩的数组 float x[]={12.3,13.1,11.9,12.1}; //声明用于存放运动姓名的字符型指针数组 char ...
阅读全文
posted @ 2015-06-10 16:00 微博和csdn还有你
阅读(316)
评论(0)
推荐(0)
关于指针 用字符数组,字符指针变量输入字符串 动态为字符型指针变量分配内存
摘要: #include #include #includeusing namespace std;int main(){ //声明字符型数组和指针变量 char str[10]; char *strip=str; //输入输出 cout>str; //用字符数组输...
阅读全文
posted @ 2015-06-10 14:34 微博和csdn还有你
阅读(580)
评论(0)
推荐(0)
2015年6月9日
axel 原来求中点我想复杂了 两个结果一样
摘要: #include #include #includeusing namespace std;int main(){ double a,b; double r1,r2; scanf("%lf%lf",&a,&b); r1=fabs(a-b)/2+min(a,b); r2=(a+b)/2...
阅读全文
posted @ 2015-06-09 15:25 微博和csdn还有你
阅读(163)
评论(0)
推荐(0)
2015年6月2日
Bezier曲线绘制 B样条绘制
摘要: /*输入点的个数是可以手动改动的,此程序中输入点的最大值设置为.*同时,程序实现了键盘的交互,用来控制程序运行过程中的退出、重画等*/#include#includeint W,H; //屏幕的大小int N =-1; //贝赛尔曲线的幂次GLfloat Bfunc[15]={0.0}; ...
阅读全文
posted @ 2015-06-02 16:54 微博和csdn还有你
阅读(1262)
评论(0)
推荐(0)
最大的回文子串
摘要: fgets(buf,sizeof(buf),stdin);从文件读取字符串到buf数组中isalpha一种函数:判断字符ch是否为英文字母,若为小写字母,返回2,若为大写字母,返回1。若不是字母,返回0。在标准c中相当于使用“isupper(ch)||islower(ch)”做测试,#include...
阅读全文
posted @ 2015-06-02 09:48 微博和csdn还有你
阅读(238)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
下一页
公告