E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
CPlusPlus
c++内存泄露
转http://www.codeproject.com/Articles/393957/
Cplusplus
-Memory-Leak-Finder Introduction In
haoningabc
·
2012-06-26 23:00
内存泄露
[置顶] kD-tree 的C语言实现 带有史上最全的注释和解释
下面是kdtree.h文件,是kdtree数据结构的头文件#ifndef_KDTREE_H_ #define_KDTREE_H_ #ifdef__
cplusplus
extern"C"{ #
daringpig
·
2012-06-11 16:00
c
struct
tree
insert
语言
float
C++使用C代码
时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif/*一段代码*/#ifdef__
cplusplus
}#endif这样的代码到底是什么意思呢?
wenjie345304221
·
2012-06-09 21:00
C++
c
汇编
gcc
reference
编译器
NDK & WIN32 另一组log函数
_log.h[cpp] viewplaincopy#ifdef __
cplusplus
extern "C" { #endif #ifndef LOG_TAG # define LOG_TAG
vrix
·
2012-06-09 10:00
android
测试
buffer
log函数封装,让WIN32和android ndk共用相同的log函数,方便调试
_log.h[cpp] viewplaincopy#ifdef __
cplusplus
extern "C" { #endif typedef int (* funcPtr)(const char
vrix
·
2012-06-09 10:00
android
Module
buffer
Build
include
library
extern "C"详解
*/#ifdef__
cplusplus
}#endif#endif/*__INCvxWorksh*/分析:1显然,头文件中的编译宏“#ifndef__INCvxWorksh、#defin
zhiweiarm
·
2012-06-07 21:00
弃用gets(),改用fgets()就能解决问题了?!
其实http://www.
cplusplus
.com/reference/clibrary/cstdio/gets/说得很清楚了Noticethat gets doesnotbehaveexactlyas
jmy5945hh
·
2012-06-07 15:00
File
null
buffer
character
FP
newline
C++ 中执行C代码
#fidef__cplusplusextern"c"{#endifvoid *memset(void*,int,size_t);#fidef__
cplusplus
}#endif
bob007
·
2012-06-03 17:00
C++
c
#ifdef __
cplusplus
深度剖析
时常在cpp的代码之中看到这样的代码: #ifdef__
cplusplus
extern"C"{ #endif //一段代码#ifdef__
cplusplus
}#endif这样的代码到底是什么意思呢
sgnoquiter
·
2012-06-02 10:00
c
汇编
gcc
reference
编译器
c++/C 的用户手册
http://en.cppreference.com/w/ http://www.
cplusplus
.com/reference/
wangkaiblog
·
2012-05-30 10:00
AIX6.1上安装 gcc
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/ gcc-4.2.0-3.aix6.1.ppc.rpm,gcc-
cplusplus
jinyan2049
·
2012-05-26 09:31
gcc
AIX
AIX6.1上安装 gcc
相关包ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/gcc-4.2.0-3.aix6.1.ppc.rpm,gcc-
cplusplus
jinyan2049
·
2012-05-26 09:31
gcc
aix
条件编译和extern "C"的用法总结
先看下面这个例子:#ifdef__
cplusplus
extern"C"{ #endif /*thesomethinghere*/ #ifdef__
cplusplus
} #endif
lianxiang_biancheng
·
2012-05-20 21:00
【转】C++ string CString详解
前言:string的角色1string使用 http://www.
cplusplus
.com/reference/string/string/1.1充分使用string操作符1.2眼花缭乱的stringfind
scut1135
·
2012-05-15 21:00
C++
c
String
basic
iterator
insert
#ifdef __
cplusplus
extern "C"
#ifdef__
cplusplus
倒底是什么意思?
sea310
·
2012-05-14 10:00
理解iterator
参考:http://www.
cplusplus
.com/reference/std/iterator/iterator///iteratorexample #include #include usingnamespacestd
welcome_xu
·
2012-05-10 16:00
iterator
Class
reference
distance
Numbers
Types
c++基本语法
编译C++程序时,编译器自动定义了一个预处理名字__
cplusplus
,而编译标准C时,自动定义名字__STDC__。
goustzhu
·
2012-05-09 14:00
VS2005环境下生成静态lib库及调用方法
VS2005环境下生成静态lib库及调用方法生成lib方法: 步骤1:新建一个空项目,建一个头文件如Test.h #pragmaonce #ifdef__
cplusplus
extern"C"{
m372897500
·
2012-05-09 11:00
ptr_fun
转自:http://www.
cplusplus
.com/reference/std/functional/ptr_fun/template pointer_to_unary_functionptr_fun
jinzhilong580231
·
2012-05-05 20:00
function
object
Class
fun
returning
Types
C语言笔记
#undefNULL#ifdefined(__
cplusplus
)#defineNULL0#else#defineNULL((void*)0
e3399
·
2012-05-03 13:00
c
File
null
语言
(转)C++中extern “C”含义深层探索
最近在学习使用androidNDK的过程中发现,在用javah生成的头文件中会用这么一行#ifdef__
cplusplus
extern"C"{ #endif查了一下extern“C”的具体含义,发现一篇不错的文章
xu_fu
·
2012-04-29 19:00
C++
c
Module
语言
float
编译器
解译“_ifdef+__
cplusplus
+”的含义
#ifdef__
cplusplus
是什么意思?
menglei8625
·
2012-04-26 16:00
c
汇编
gcc
reference
编译器
extern "C" 和 #ifdef __
cplusplus
解释
时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif 这样的代码到底是什么意思呢?
zhanghui_hn
·
2012-04-21 09:00
c
汇编
gcc
reference
编译器
[置顶] 几个不错的C++/VC++网站(个人收藏额~~)
cplusplus
: http://www.
cplusplus
.comlearncpp:http://www.learncpp.com/C++ reference: http://en.cppreference.com
xiaofei2010
·
2012-04-19 21:00
extern c
externc时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif这样的代码到底是什么意思呢
colorful
·
2012-04-17 19:00
#ifdef __
cplusplus
倒底是什么意思?
时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif这样的代码到底是什么意思呢?
·
2012-04-13 14:00
c
汇编
gcc
reference
编译器
几大语言, 随性点评
C--太上皇
Cplusplus
--学究Java--罗嗦Scala--白痴天才Groovy--投错胎了Python--中庸Ruby--自负Perl--怪叔叔Php--邋遢鼠JavaScript--小淘气Lugua
大东哥
·
2012-04-13 12:00
C和C++混合编译
关于extern_C通常,在C语言的头文件中经常可以看到类似下面这种形式的代码: #ifdef__
cplusplus
extern"C"{ #endif /****somedeclarationorso
David_xtd
·
2012-04-11 09:00
c
function
gcc
table
编译器
关于NULL在C和C++中的区别
defined(NULL)&&defined(__NEEDS_NULL) #ifdef__
cplusplus
#define
koudaidai
·
2012-04-06 16:00
time_t
返回时间,从1970.1.1.00:00开始计算http://www.
cplusplus
.com/reference/clibrary/ctime/time_t/
hushengshan
·
2012-03-30 18:00
NDK帮助文档学习--
CPLUSPLUS
-SUPPORT.html
android-ndk-r7b\docs\
CPLUSPLUS
-SUPPORT.htmlAndroid平台提供了一个minimalC++runtimesupportlibrary (/system/lib
bjutstar
·
2012-03-30 14:00
c
exception
System
文档
library
features
详解extern "C"
时常在cpp的代码之中看到这样的代码: #ifdef__
cplusplus
extern"C"{ #endif //一段代码 #ifdef__
cplusplus
} #endif这样的代码到底是什么意思呢
yockie
·
2012-03-29 20:00
c
汇编
gcc
reference
编译器
POJ 1051 P,MTHBGWB
stringstr="";//初始化为空字符串;4.推荐一个c++的网站(
cplusplus
.com-TheC++ResourcesNetwork)。
dollarzhaole
·
2012-03-26 22:00
数据结构
c
String
NetWork
resources
c 语言头文件的那些事
#ifndef__APT_PTHREAD_H__ #define__APT_PTHREAD_H__ #ifdef__
cplusplus
extern"C"{ #endif #include #include
yangzhongxuan
·
2012-03-22 23:00
c
File
语言
编译器
C++的tie()函数
cplusplus
.com给出的定义是:ostream*tie()const;//返回指向绑定的输出流的指针。ostream*tie(ostr
asx20042005
·
2012-03-18 00:02
c++
stream
windows
string
linux
ios
c++
C/C++小问题大杂烩
http://
cplusplus
.comhttp://en.cppreference.com/http://www.cprogramming.com/1.求一个整数二进制表示时1的个数,很巧妙#include
xiarendeniao
·
2012-03-17 21:00
#ifdef __
cplusplus
有什么作用
一般的考虑跨平台使用方法如下: #ifdefined(__
cplusplus
)||defined(c_plusplus)//跨平台定义方法 extern"C"{ #endif //...正常的声
thanklife
·
2012-03-16 22:00
c
汇编
Module
gcc
语言
编译器
VC++ string .........
推荐网站: http://www.
cplusplus
.com/reference/string/string/之所以抛弃char*的字符串而选用C++标准程序库中的string类,是因为他和前者比较起来
shanshanpt
·
2012-03-16 16:00
C++类中static成员函数的声明与实现
基本的语法,相关的资料可以参考:http://
cplusplus
.syntaxerrors.info/index.php?
rgxgf
·
2012-03-13 19:00
#ifdef extern c endif
:-)时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif 这样的代码到底是什么意思呢
freedom2028
·
2012-03-04 17:00
探秘C++之详解extern "C"
在cpp的代码之中有这样的一段代码: #ifdef __
cplusplus
extern "C" { #endif //一段代码 #ifdef __
cplusplus
mars914
·
2012-02-27 13:00
C++
c
编译原理
extern
c++操作符重载
c++操作符重载(翻译)翻译自:http://www.
cplusplus
.com/doc/tutorial%20%20/classes2/对于c++中基本的类型,我们可以采用如下方式进行操作:inta,
richerg85
·
2012-02-22 14:00
C++
function
delete
Parameters
Constructor
overloading
如何判断一段程序是由C编译,还是由C++编译?
大多数编译器在编译时如果是c++的程序都会定义一个叫_
cplusplus
的宏。
lifu119
·
2012-02-20 16:00
C++
c
编译器
ffmpeg error C3861: 'UINT64_C': identifier not foun
#ifndefINT64_C #defineINT64_C(c)(c##LL) #defineUINT64_C(c)(c##ULL) #endif第二种方法#ifdef__
cplusplus
#define
maikforever
·
2012-02-16 10:00
C++项目中的extern "C" {}(转自:http://www.cnblogs.com/skynet/archive/2010/07/10/1774964.html)
引言在用C++的项目源码中,经常会不可避免的会看到下面的代码:#ifdef__
cplusplus
extern"C"{ #endif /*...*/ #ifdef__
cplusplus
} #endif
lslxdx
·
2012-02-13 09:00
探索C++的秘密之详解extern "C"
时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif这样的代码到底是什么意思呢?
winson_jason
·
2012-02-07 10:00
gcc预定义的一些宏
预定义的宏 *__NASE_FILE__源文件的完整路径名,和__FILE__不同,被引用的文件仍然是原来文件名 *__CHAR_UNSIGNED__用于指定该机器上char是无符号类型 *__
cplusplus
aican_yu
·
2012-02-07 10:00
AMF3协议的C++封装
libamfx只支持AMF0不支持AMF3amf3
cplusplus
是国人实现的,仅实现windows平台版本,支持除undefine/xmldoc/xml外其他AMF3数据类型。
wooce
·
2012-02-07 10:00
AMF3协议的C++封装
libamfx 只支持AMF0不支持AMF3 amf3
cplusplus
是国人实现的,仅实现windows平台版本,支持除undefine/xmldoc/xml外其他AMF3数据类型
wooce
·
2012-02-07 10:00
C++
模拟glib中双链表的部分实现
//GList.h #ifndefGLIST_H_INCLUDED #defineGLIST_H_INCLUDED #ifdef_
cplusplus
extern"C"{ #endif typedefstruct_GListGList
tujiaw
·
2012-02-02 18:00
c
struct
list
user
null
insert
上一页
31
32
33
34
35
36
37
38
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他