自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 使用标准库:文本查询程序

最近打算学习c++11 中智能指针的使用,写了一个文本查询程序。功能有读入一个“.txt”文件,在其中找单词“london”,具体格式见图://TextQuery.cpp#include "TextQuery.h"#include<iostream>#include<fstream>using namespace std;void runQueries(s...

2018-10-16 21:13:48 186

原创 合并两个有序链表,合并之后任然是有序的并输出。

合并链表相信大家都特别熟悉,但是如果要加上一定的输出格式,难度就会有所增加,不说了,见代码。#include<iostream>using namespace std;struct Node{ Node *next; int data;};void nodeprint(Node *head){ Node *node=head; while...

2018-10-12 15:21:07 234

原创 LEETCODE 283. Move Zeroes 三种解体方案

Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.Example:Input: [0,1,0,3,12]Output: [1,3,12,0,0]Note: You must do this in-place without making a copy of the arr

2018-08-13 15:18:22 128

原创 leetcode 刷题

题目一:leetcode200Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically....

2018-07-10 15:36:58 481

原创 opengl 实现人体骨骼点的绘制

最近,想实现怎么利用opengl将Kinect扫到人体骨骼坐标点在opengl 中绘制出来,第一个想到的难点就是,在Kinect中的是世界坐标点,我怎么转换到opengl中的屏幕坐标,一开始陷入的就是觉得要改摄像机的参数,这是不对的,摄像机改变的只是你看物体的角度。所以经历一番折腾,看过网上许多有关opengl坐标系统转换的博客,我具体渲染出的人体骨骼点如下:代码:#include <ios...

2018-04-18 12:21:29 2438

原创 约瑟夫环问题

C语言学习中。。

2017-10-26 19:54:26 329

空空如也

空空如也

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

TA关注的人

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