码迷,mamicode.com
首页 >  
搜索关键字:cpp    ( 13186个结果
Linux特点总结
Linux特点总结: 1、 免费的、开源的。 2、 支持多线程(并发)。多用户。 3、 安全性比Windows要好。 4、 对内存和文件管理优越。 使用VI编辑器在Linux系统下开发程序 1、VI Hello.java 2、输入i(进入到插入模式) 3、保存:输入Esc键(进入到命令模式即可输入命 ...
分类:系统相关   时间:2020-06-01 01:18:39    阅读次数:153
远程线程注入
分为Dll注入和代码注入,优缺点 代码注入: 是没有全局变量和没有使用IAT表的硬编码,放到哪里都能执行。 优点:不易被发现。 缺点:自己写函数十分麻烦。 dll注入: 模块注入一整个进去 优点:全局函数IAT都在模块中,使用方便。缺点:容易被检测,特征太明显。 CreateThread和Creat ...
分类:编程语言   时间:2020-05-31 13:05:40    阅读次数:64
C++ 模板类vector
#include<vector> // 包含头文件vector ... using namespace std; // vector包含在std中,因此必须包含std::vector vector <int> vi; // create a zero-size array of int int n; ...
分类:编程语言   时间:2020-05-30 23:25:48    阅读次数:106
5.C语言入门 Hello World
在上一篇文章中我们创建了第一个项目 Hello World ,项目是创建好了,但还不知道这个 Hello World 是个啥玩意?到底怎么运行? 一.Hello World源码 我们将hello world.cpp的内容修改如下如下: // hello world.cpp : 定义控制台应用程序的入 ...
分类:编程语言   时间:2020-05-30 19:35:52    阅读次数:66
C++ 重写[]运算符
数组下标运算符[]通常用于访问、修改一个对象中的数据域或者元素。而现在,我们希望它的功能是:访问有理数(C++ 有理数类)的分子和分母。 首先我们在Rational.h文件的public中添加: int operator[](int index); 然后在Rational.cpp文件中实现函数: i ...
分类:编程语言   时间:2020-05-30 10:35:55    阅读次数:72
cpp test
#include <bits/stdc++.h> using namespace std; char cnt = 0; struct A { A() { *reinterpret_cast<char*>(this) = ++cnt; cout << "construct: " << this << ...
分类:其他好文   时间:2020-05-29 23:40:29    阅读次数:109
cpp test
#include <bits/stdc++.h> using namespace std; char cnt = 0; struct A { A() { *reinterpret_cast<char*>(this) = ++cnt; cout << "construct: " << this << ...
分类:其他好文   时间:2020-05-29 23:23:00    阅读次数:71
支配树
支配树 (一下的节点大小比较默认为dfs序的大小) idom支配点——s->t的必经点 sdom半支配点 半支配点 $sdom[w]$为能到达w点的v的最小值,要求路径上处理起点终点外所有点大于w 性质: 半支配点唯一 半支配点一定是dfs树上的祖先 任意点w(w不等于起点s)的支配点是该节点半支配 ...
分类:其他好文   时间:2020-05-29 20:58:16    阅读次数:55
ros gazebo it says it‘s incompatible with that RT
gzserver: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreRenderSystem.cpp:546: virtual void Ogre::RenderSystem::setDepthBufferFor(Ogre::RenderTarget*): Assertion `bAttached && "A new DepthBuffer for a RenderTarget was created, but after creation" "it says it‘s incompatible with that RT"‘ failed.
分类:其他好文   时间:2020-05-29 19:45:03    阅读次数:180
Qt 3D c++ (四):设置其他的必要参数
创建一个3D模型程序,到这里基本已经算是完成,接下来只需要再做一点收尾工作,一个简单的3D程序就算完成。 下面是针对相机控制,光线的添加这两部分代码的补充。 编辑main.cpp,在其中添加如下代码 #include <QInputAspect> #include <QPointLight> #in ...
分类:编程语言   时间:2020-05-28 21:52:26    阅读次数:76
13186条   上一页 1 ... 37 38 39 40 41 ... 1319 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!