• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
4℃空间
众人笑我痴 我笑他人看不懂
   首页    新随笔    联系   管理    订阅  订阅
上一页 1 ··· 5 6 7 8 9
2010年10月11日
如何求出三角形的面积
摘要: 1、验证输出参数是否符合要求2、求出三角形面积AreaMath.h Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include <math.h>//验证输入的值是否符合要求boolValidateInputValue(doublex,... 阅读全文
posted @ 2010-10-11 00:12 magic_evan 阅读(266) 评论(0) 推荐(0)
如何编写参数个数不定函数
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include<stdio.h>//重要引用#include<stdarg.h>voidsum(char*msg,...);intmain(intargc,char*argv... 阅读全文
posted @ 2010-10-11 00:01 magic_evan 阅读(299) 评论(0) 推荐(0)
2010年10月8日
vc++ 2008 如何使用quartz.dll 获取影片的帧
摘要: 先在VC++2008 中引用quartz.dll,路径:C:\Windows\System32\quartz.dll编码如下:private:System::Void MediaPic() { //初始化 FilgraphManagerClass 类的新实例 QuartzTypeLib::FilgraphManagerClass^ FMC=gcnew QuartzTypeLib::Filgraph... 阅读全文
posted @ 2010-10-08 21:57 magic_evan 阅读(417) 评论(0) 推荐(0)
C++ Builder 全部API函数列表
摘要: 1.API之网络函数WNetAddConnection创建同一个网络资源的永久性连接WNetAddConnection2创建同一个网络资源的连接WNetAddConnection3创建同一个网络资源的连接WNetCancelConnection结束一个网络连接WNetCancelConnection2结束一个网络连接WNetCloseEnum结束一次枚举操作WNetConnectionDialog... 阅读全文
posted @ 2010-10-08 21:53 magic_evan 阅读(965) 评论(0) 推荐(0)
2010年4月23日
关于经典AI算法的问答
摘要: 1、什么叫代价值答:代价值:我们暂时理解为起始点到达结束点所消耗的时长。2、如何理解F=G+H等式答:F就是起始点到结束点的距离,我们可以很清楚的知道平面地图就是由N个二维坐标构成的矩阵,既然是由二维坐标构成的话,那么就存在X、Y轴,由此我们就可以设起始点的对象为Start,那么这个Start就存在:Start.X与Start.Y同理我们也可以设结束点(End)为End.X与End.Y,我们取以上... 阅读全文
posted @ 2010-04-23 23:16 magic_evan 阅读(740) 评论(0) 推荐(0)
字符串反序
摘要: 在网上看到人家写的一个字符反序的算法,于是自己也花上那么一两分钟写一个,欢迎提出更优化的算法供大家一起学习学习.代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--privatestringRev(stringstr){intlen=0;if(str=... 阅读全文
posted @ 2010-04-23 18:08 magic_evan 阅读(295) 评论(0) 推荐(0)
2010年4月22日
返回对应对象的克隆方法
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Collections;usingSystem.Re... 阅读全文
posted @ 2010-04-22 23:42 magic_evan 阅读(323) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3