• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Mikuroro
博客园 首页 新随笔 联系 订阅 订阅 管理

2016年5月3日

3dsMax用到的网格优化
摘要: 3dsMax软件主要是用于建模的,里面有一个网格优化的功能,它的网格优化的过程是基于那个网格简化算法,经过使用个人认为是基于几何删除的折叠方式来进行的,可能是边折叠或者三角折叠的方式,还望大神多多指教。 目前本人在看关于Garland的基于二次误差测度的边折叠的网格简化算法,希望能多多交流。http 阅读全文
posted @ 2016-05-03 20:04 Mikuroro 阅读(1057) 评论(0) 推荐(0)
 
 

2015年6月25日

面试题14:调整数组顺序使奇数位于偶数前面
摘要: // 面试题14_调整数组顺序使奇数位于偶数前面.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include using namespace std;void swap(int *begin,int *end){ int temp; temp=*b... 阅读全文
posted @ 2015-06-25 19:44 Mikuroro 阅读(179) 评论(0) 推荐(0)
 
 

2015年6月23日

面试题12:打印1到最大的n位数
摘要: // 面试题12_打印1到最大的n位数.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include using namespace std;bool Increment(char *number){ bool isOverflow=false; i... 阅读全文
posted @ 2015-06-23 21:59 Mikuroro 阅读(214) 评论(0) 推荐(0)
 
 

2015年6月18日

面试题8:旋转数组的最小数字
摘要: //把一个数组最开始的若干个元素搬到数组的末尾。eg:{3,4,5,1,2}是{1,2,3,4,5}的旋转数组#include "stdafx.h"#include using namespace std;int MinInOrder(int data[],int index1,int index2... 阅读全文
posted @ 2015-06-18 15:28 Mikuroro 阅读(205) 评论(0) 推荐(0)
 
冒泡排序
摘要: #include "stdafx.h"#include using namespace std;void BubbleSort(int data[],int length){ int i,j; bool exchange=false; for(int i=0;i<length-1;i++) { e... 阅读全文
posted @ 2015-06-18 14:28 Mikuroro 阅读(178) 评论(0) 推荐(0)
 
快速排序
摘要: #include "stdafx.h"#include using namespace std;int RandomInRange(int start,int end);void Swap(int *p,int *q);int patition(int data[],int length,int s... 阅读全文
posted @ 2015-06-18 14:07 Mikuroro 阅读(224) 评论(0) 推荐(0)
 
 

2015年6月11日

字符串中连续出现次数最多的子串
摘要: 分析:首先生成后缀数组 1 //求一个字符串中连续出现次数最多的子串 2 3 #include "stdafx.h" 4 #include 5 #include 6 #include 7 using namespace std; 8 9 pair fun(const string &str... 阅读全文
posted @ 2015-06-11 21:21 Mikuroro 阅读(1141) 评论(0) 推荐(0)
 
字符串strcpy
摘要: strcpy函数的表达方式://把一个char组成的字符串循环右移n个,如:“abcdefghi",n=2,移动后"hiabcdefgh"#include #include using namespace std;#define MAX_LEN 20void LoopMove(char *pstr,... 阅读全文
posted @ 2015-06-11 20:27 Mikuroro 阅读(251) 评论(0) 推荐(0)
 
 

2015年6月9日

面试题4:替换空格
摘要: 字符串替换问题思路1:从前往后的思想替换为从后往前的思想。//把字符串中的每个空格替换成"%20"。#include "stdafx.h"#include using namespace std;#define length 100void ReplaceBlank(char string[]){ ... 阅读全文
posted @ 2015-06-09 17:30 Mikuroro 阅读(177) 评论(0) 推荐(0)
 
 

2015年6月7日

面试题3二维数组中的查找
摘要: 二维数组 查找 阅读全文
posted @ 2015-06-07 21:45 Mikuroro 阅读(145) 评论(0) 推荐(0)
 
 
下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3