- 博客(3)
- 收藏
- 关注
原创 线性表--顺序表
#include <stdio.h> #define MAX_SIZE 100 typedef int ElementType; struct SeqList { ElementType data[MAX_SIZE]; int length; }; /* 空表 表长为0 */ void Init(SeqList &L) { L.length = 0; } ...
2019-11-22 19:05:49 119
原创 OpenGL -- 绘制第一个三角形(2)
#include <glad\glad.h> #include <glfw3.h> #include <iostream> float vertices[] = { -0.5f,-0.5f,0.0f, 0.5f,-0.5f,0.0f, 0,0.5f,0.0f }; GLFWwindow* glfwWindow; int gl_i...
2019-10-25 22:47:17 108
原创 OpenGL -- 创建第一个窗体程序(1)
学习资料来源 Joey de Vries 的 OpenGL入门教程 英文版地址 :https://learnopengl.com/ 中文版地址 :https://learnopengl-cn.github.io/ OpenGL官网 :https://www.opengl.org/ OpenGL各版本规范与扩展:https://www.khronos.org/registry/OpenGL...
2019-10-22 23:05:18 124
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人