码迷,mamicode.com
首页 >  
搜索关键字:ifdef    ( 750个结果
osgEarth设置模型旋转角度
#include #include #include #include #include #include #include #include #include #include #ifdef _DEBUG #pragma comment(lib, "osgd.lib") //#pragma com... ...
分类:其他好文   时间:2017-11-01 13:39:34    阅读次数:328
链接总结
1、链接概述和目标文件格式 1.1 使用GCC生成C语言程序的可执行文件的过程: 1.1 使用GCC生成C语言程序的可执行文件的过程: 1.1 使用GCC生成C语言程序的可执行文件的过程: 第一步预处理,对#include、#define、#ifdef等预处理命令进行处理; 第二步编译,将预处理结果 ...
分类:其他好文   时间:2017-10-28 22:36:48    阅读次数:212
C++ 链接错误 LNK2019,LNK2001
LNK2019 c和c++混合编程 解决方法: 对c编写的部分,添加 #ifdef __cplusplusextern "C" {#endif #ifdef __cplusplus}#endif 到其头文件中。 注意构造函数和析构函数的实现 CHtMotion_extern(void){ }; 当前 ...
分类:编程语言   时间:2017-10-19 15:57:21    阅读次数:142
ECS 175 P1
作业。。。还是多做事,少想。。与其想一些遥不可及的事情,不如把脚下的事情做好。。。 应该分几个文件好好写的。。。习惯真差。。。 DDA,Bresenham,Scanline,按照中心平移,旋转,放大缩小,变化窗口大小。。。 ubuntu 下要装freeglut。。。 #ifdef WIN32#inc ...
分类:其他好文   时间:2017-10-17 12:22:50    阅读次数:137
Delphi TXLSReadWriteII2 带的demo中直接编辑XLS文件的例子
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids, Tabs, Cell2, {$ifdef ver140} Var... ...
分类:Windows程序   时间:2017-10-16 13:53:59    阅读次数:300
条件编译
所谓“条件编译”,是对部分内容指定编译的条件,使其只在满足一定条件才进行编译。 常用形式 多条件编译 常用格式 示例 执行结果: 常见的预处理指令 参考: C/C++预处理指令#define,#ifdef,#ifndef,#endif… ...
分类:其他好文   时间:2017-10-14 20:05:06    阅读次数:215
osg使用shader动态修改纹理坐标
#include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef _DEBUG #pragma comment(lib... ...
分类:其他好文   时间:2017-10-13 21:18:36    阅读次数:375
2017-10-13 NOIP模拟赛
入阵曲 #include<iostream> #include<cstdio> #define maxn 401 #ifdef WIN32 #define PLL "%I64d" #else #define PLL "%lld" #endif using namespace std; int n,m ...
分类:其他好文   时间:2017-10-13 13:58:21    阅读次数:260
linux sleep用法
应用程序:#include <syswait.h>usleep(n) //n微秒Sleep(n)//n毫秒sleep(n)//n秒驱动程序:#include <linux/delay.h>mdelay(n) //milliseconds 其实现#ifdef notdef#define mdelay( ...
分类:系统相关   时间:2017-10-12 10:32:05    阅读次数:153
2017.10.2 QBXT 模拟赛
题目链接 T1 #include<cstdio> #include<cstdlib> #include<cstring> using namespace std; long long n; #ifdef unix #define LL "%lld" #else #define LL "%I64d" ...
分类:其他好文   时间:2017-10-10 17:48:08    阅读次数:238
750条   上一页 1 ... 16 17 18 19 20 ... 75 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!