自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 FindMaxSubArray

#include <iostream>using namespace std;struct MaxSubArray{ int low; int high; int sum; MaxSubArray(int InLow, int InHigh, int InSum) { low = InLow; high = InHigh; sum = InSum; }};...

2022-05-31 19:53:27 74

原创 CalculateCapacity

#include <iostream>using namespace std;int GetMaxIndex(int arr[], int start, int stop){ if (stop - start > 1) { int currentMax = arr[start + 1]; int currentMaxIndex = start + 1; for (int i = start + 2; i ...

2022-05-31 19:52:35 141

原创 gl 配置教程

1、vs安装目录\VC\Tools\MSVC\14.15.26726\include\建立"GL"文件夹。并将glut.h文件放置其中。2、glew32.lib、glew32s.lib、glut.lib放置在vs安装目录\VC\Tools\MSVC\14.15.26726\lib\x86中。3、glut.dll和glut32.dll放到C:\Windows\system324、(可先步骤)v...

2018-08-23 13:53:15 14600

原创 the first opengl program

#include "stdafx.h"#include &lt;GL/glew.h&gt;#include &lt;GL/glut.h&gt;#include &lt;iostream&gt;#pragma comment( lib, "glew32d.lib" )  using namespace std;void Init(){ glEnable(GL_CULL_FACE); GLfloat ...

2018-06-26 09:23:34 210

原创 select sort

    //select sort    int arr[20] = { 65,25,14,58,69,35,16,85,41,5,654,253,165,269,486,214,657,986,25,14 };    for (int s = 0; s &lt; sizeof(arr) / sizeof(int); s++)    {        for (int ss = s + 1; ss...

2018-04-27 17:23:17 82

原创 insert sort

    int arr[18] = { 65,25,14,58,69,35,16,85,41,5,654,253,165,269,486,214,657,986 };    for (int a = 1; a &lt; sizeof(arr) / sizeof(int); a++)    {        for (int b = 0; b &lt; a; b++)        {       ...

2018-04-27 15:42:18 105

原创 unreal engine pawn controlled spring arm camera

// Fill out your copyright notice in the Description page of Project Settings.#pragma once#include "CoreMinimal.h"#include "GameFramework/Pawn.h"#include "Camera/CameraComponent.h"#inclu

2017-06-23 13:16:36 459

原创 unreal engine timeline function

// Fill out your copyright notice in the Description page of Project Settings.#pragma once#include "Curves/CurveFloat.h"#include "Components/TimelineComponent.h"#include "CoreMinimal.h"#

2017-06-23 13:15:30 434

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除