Android SDK Manager

作者:追风剑情 发布于:2014-8-28 23:23 分类:Unity3d

使用时常见问题 问题: Download interrupted: Connection to https://dl-ssl.google.com refused 解决方案: 在hosts文件中加上 203.208.46.146 dl.google.com 203.208.46.146 dl-ssl.google.com hosts文件位置: C:\Windo...

阅读全文>>

标签: Unity3d

评论(0) 浏览(13082)

VBA导出UTF-8到txt

作者:追风剑情 发布于:2014-8-25 18:26 分类:VBA

Public Declare Function WideCharToMultiByte Lib "kernel32" (ByVal CodePage As Long, ByVal dwFlags As Long, ByVal lpWideCharStr As Long, ByVal cchWideChar As Long, ByRef lpMultiByteStr As Any, ByVal cc...

阅读全文>>

标签: VBA

评论(0) 浏览(16318)

图的广度优先搜索

作者:追风剑情 发布于:2014-8-24 12:43 分类:Algorithms

程序语言 C++ 开发工具 Visual Studio2010 Graph.h文件 #define MAXVEX 5 //图中最大顶点数 ///////////////////////////////////////////////////////////////////// // // 定义邻接表数据结构 // ////////////////////...

阅读全文>>

标签: Algorithms

评论(0) 浏览(3296)

Excel导出某列数据到txt文件

作者:追风剑情 发布于:2014-8-23 17:45 分类:VBA

测试文件版本Excel 2007 测试数据文件 添加开发工具菜单 创建一个宏 编写模块代码 创建向导窗口 为窗口编写功能代码 以下为运...

阅读全文>>

标签: VBA

评论(0) 浏览(18963)

UILabel设置行间距

作者:追风剑情 发布于:2014-8-22 17:44 分类:NGUI

using UnityEngine; using System.Collections; public class TestUILabel : MonoBehaviour { public UILabel label; public int hspacing = 2; public int vspacing = 2; // Use this for...

阅读全文>>

标签: NGUI

评论(0) 浏览(6677)

delegate

作者:追风剑情 发布于:2014-8-19 20:50 分类:C#

using System; namespace DelegateTest { public delegate string MyMethodDelegate(int i); class Program { static void Main(string[] args) { TestClass t...

阅读全文>>

标签: C#

评论(0) 浏览(6581)

邻接矩阵转邻接表

作者:追风剑情 发布于:2014-8-17 10:56 分类:Algorithms

程序语言 C++ 开发工具 Visual Studio2010 #include <stdlib.h> #include <stdio.h> #include <string.h> #define MAXVEX 5 //图中最大顶点数 ////////////////////////////////////////////...

阅读全文>>

标签: Algorithms

评论(0) 浏览(4492)

图的存储结构——邻接表

作者:追风剑情 发布于:2014-8-16 12:06 分类:Algorithms

邻接表是图的一种链式存储结构。所占空间与边数有关,适合存储稀疏图。一个图的邻接矩阵表示是唯一的,但其邻接表表示不唯一。 程序语言 C++ 开发工具 Visual Studio2010 #include <stdlib.h> #include <stdio.h> #define MAXVEX 5 /*图中最大顶点数*/ //定义顶点类型为...

阅读全文>>

标签: Algorithms

评论(0) 浏览(3857)

NavMeshAgent

作者:追风剑情 发布于:2014-8-13 21:57 分类:Unity3d

https://docs.unity3d.com/cn/2019.4/Manual/class-NavMeshAgent.html 注意:NavMeshAgent 与 Rigidbody 同时挂在角色身上会引起抖动。 一、搭建一个场景 二、设置不可走区域 三、烘焙不可走区域 点...

阅读全文>>

标签: Unity3d

评论(0) 浏览(6093)

Regex.Replace()

作者:追风剑情 发布于:2014-8-6 16:30 分类:C#

开发工具 Visual Studio 2010 using System; using System.Text.RegularExpressions; namespace RegularExpressionsTest { class Program { static void Main(string[] args) { ...

阅读全文>>

评论(0) 浏览(4222)

Timer

作者:追风剑情 发布于:2014-8-6 15:13 分类:C#

开发工具 Visual Studio 2010 using System; using System.Timers; namespace TestTimer { class Program { private static Timer aTimer; static void Main(string[] arg...

阅读全文>>

评论(0) 浏览(8982)

读写文件

作者:追风剑情 发布于:2014-8-3 13:52 分类:C#

开发工具 Visual Studio 2010 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FileAccessTest { class Program { ...

阅读全文>>

标签: C#

评论(0) 浏览(3302)

狄克斯特拉(Dijkstra)算法

作者:追风剑情 发布于:2014-8-2 20:15 分类:Algorithms

Dijkstra是求解某点到其他各点的最短路径算法。 开发工具 Visual Studio2010 #include <stdlib.h> #include <stdio.h> const int MAXVEX = 6;//最大顶点数 const int INF = 429496729;//无路径时的权值 /** * 狄克...

阅读全文>>

标签: Algorithms

评论(0) 浏览(8077)

Powered by emlog  蜀ICP备18021003号-1   sitemap

川公网安备 51019002001593号