$(SRCROOT)/PCHFile/Project-Prefix.pch#ifdef DEBUG#define NSLog(FORMAT, ...) fprintf(stderr,"%s:%d\t%s\n",[[[NSString stringWithUTF8String:__FILE__] .....
分类:
其他好文 时间:
2015-04-14 15:55:05
阅读次数:
116
打开config.mk............................................................................................ifdef CONFIG_MMCexport CONFIG_SSB_SDIOHOST=yexp...
分类:
其他好文 时间:
2015-04-10 13:20:13
阅读次数:
130
error 2732: 链接规范与的早期规范冲突 :
方法一解决方法是:全部用C++的函数替代含有.h的函数(头文件除外)
方法二:#ifdef __cplusplus
extern "C"{
#endif
自己写的函数声明
}
推荐方法2.。一句话兼容C和C++语言,因为C和C++同一个函数名在编译后保存在内存中的函数名很有可能不同。。。...
分类:
其他好文 时间:
2015-04-09 19:57:37
阅读次数:
662
直接上代码就可以了,所以的学习都在注释当中呢!#ifndef __LINUX_COMPILER_H
#define __LINUX_COMPILER_H#ifndef __ASSEMBLY__//如果宏定义了__CHECKER__
//详细学习一个Sparse
#ifdef __CHECKER__/**
* 这个使用来修饰一个变量的,这个变量必须是非解除参考的,no
* dereference...
分类:
其他好文 时间:
2015-04-09 17:21:58
阅读次数:
136
编译libevent
1.在此下载,最新的libevent压缩包libevent-2.0.22-stable.tar.gz 。源文件有个问题,evutil.c源码修改这部分。不然使用会失败。
#ifdef WIN32
#include
#include
#pragma comment(lib,"ws2_32.lib")
#define WIN32_LEAN_AND_MEAN
#inclu...
分类:
其他好文 时间:
2015-04-07 23:29:39
阅读次数:
251
一、语句引导关键字for while swith if do goto return二、限定关键字const static extern三、预编译关键字#include#pragma#define#ifdef#endif四、类型关键字int float double unsigned...
分类:
其他好文 时间:
2015-04-07 19:31:55
阅读次数:
148
#ifndef _OTL_ORACLE_H_
#define _OTL_ORACLE_H_
#ifdef WIN32
#include
#endif
#include
#include
#include
#include
#define OTL_DB2_CLI //OTL_ORA9I
#include "../otlv4.h"
namespace thefox{
namespac...
分类:
数据库 时间:
2015-04-07 17:39:46
阅读次数:
254
题目连接:点击打开链接
解题思路:
暴力
完整代码:
#include
#include
#include
#include
#include
using namespace std;
const int INF = 1000000000;
string s;
int main()
{
#ifdef DoubleQ
freopen("in.txt" , "...
分类:
其他好文 时间:
2015-04-05 13:22:34
阅读次数:
177
__declspec(noinline)
int
__tmainCRTStartup(
void
)
{
int initret;
int mainret=0;
int managedapp;
#ifdef _WINMAIN_
_TUCHAR *lpszCommandLine;
ST...
分类:
编程语言 时间:
2015-04-04 15:19:48
阅读次数:
604
#include #include #include #include #include #include #ifdef _DEBUG#pragma comment( lib, "zlib_d.lib")#pragma comment( lib, "zzip_d.lib")#pragma comme...
分类:
其他好文 时间:
2015-04-04 15:03:20
阅读次数:
173