我们来整理一下项目的代码 目录 include --hit --texture --material RTdef.hpp ray.hpp camera.hpp main.cpp 3D泛型数学库中的randomfunc.hpp增加了新内容 #pragma once #include <lvgm\typ ...
分类:
其他好文 时间:
2019-01-27 21:35:57
阅读次数:
130
2018 ACM-ICPC, Syrian Collegiate Programming Contest A Hello SCPC 2018! 水题 B Binary Hamming 水题 C Portals 思路:并查集维护连通性 代码: //#pragma GCC optimize(3) //# ...
分类:
其他好文 时间:
2019-01-26 23:44:21
阅读次数:
255
在C/C++中,为了避免同一个文件被include多次,有两种方式:一种是#ifndef方式,一种是#pragma once方式(在头文件的最开始加入)。 #ifndef SOME_UNIQUE_NAME_HERE #define SOME_UNIQUE_NAME_HERE // contents ...
分类:
编程语言 时间:
2019-01-25 13:01:20
阅读次数:
207
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta http-equiv="Pragma" content="no-cache"> <meta name="viewport" content="width=device-width, i ...
分类:
其他好文 时间:
2019-01-24 13:15:47
阅读次数:
152
创建项目 the main function is the entry point into the program println! is a macro that prints a string to the screen, then create a place to store the us ...
分类:
其他好文 时间:
2019-01-18 10:57:49
阅读次数:
159
先附上实例: 1 #pragma once 2 //dma.h -- inheritance and dynamic memory allocation 3 #ifndef DMA_H_ 4 #define DMA_H__ 5 #include<iostream> 6 #include<cstrin ...
分类:
编程语言 时间:
2019-01-18 01:00:24
阅读次数:
153
1.防止头文件重复包含 #pragma once 2.VS 兼容C++编译器,如果是C++编译器,按C标准编译; 3.如果数组作为函数参数,数组形参会退化为指针; 4.数据类型 ...
分类:
编程语言 时间:
2019-01-16 22:43:58
阅读次数:
221
macro 说明 macro 是sqler 的核心,当前的处理流程为授权处理,数据校验,依赖执行(include),聚合处理,数据转换 处理 授权处理 这个是通过golang 的js 包处理的,通过将golang 的http 请求暴露为js 的fetch 方法,放在js 引擎的执行,通过 http ...
分类:
数据库 时间:
2019-01-14 20:24:15
阅读次数:
239
Expires: 0 Pragma: no-cache Cache-Control: no-cache ...
分类:
Web程序 时间:
2019-01-06 13:36:54
阅读次数:
207
将写代码过程比较重要的一些代码收藏起来,下边资料是关于C++ 获取PE文件自校验值的代码。 #include#include <imagehlp.h>#pragma comment(lib,"imagehlp") { char szFileName[] = "d:\newupdate.exe"; D ...
分类:
编程语言 时间:
2019-01-05 13:33:09
阅读次数:
234