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
FFmpeg - C++中使用ffmpeg库
一般来说,一个用C写成的库如果想被C/C++同时可以使用,那在头文件应该加上#ifdef__cplusplusextern"C"{#endif#ifdef__
cplusplus
leonpengweicn
·
2013-02-17 14:00
Thinking in C++ Notes 函数重载与默认参数
两种数据类型:enumunion(属性会在同一区域覆盖) http://www.
cplusplus
.com/doc/tutorial/other_data_typeenumtype{ intproperty1
EdwardLi
·
2013-02-04 23:00
c++调用c函数问题
#ifdef__
cplusplus
}#endif它表示如果c++中调用这里的函数时,编
mcgrady_tracy
·
2013-02-04 17:00
C++强大背后
C++强大背后(转载)本文载自http://www.cnblogs.com/miloyip/archive/2010/09/17/behind_
cplusplus
.html在31年前(1979年),一名刚获得博士学位的研究员
厚积薄发
·
2013-02-02 20:00
ICE编程中的 Nonmutating 和 Idempotent
它们在概念上等效于
Cplusplus
的const成员函数。
zhiweiarm
·
2013-01-29 17:00
AMPS:定时器模块源码解读
AMPS_Timer.h#ifndef__HEADER_AMPS_TIMER_H__ #define__HEADER_AMPS_TIMER_H__ #ifdef__
cplusplus
extern"C
dyx1024
·
2013-01-27 22:00
extern "C"用法详解
1.前言:时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif这样的代码到底是什么意思呢?
zzjxiaozi
·
2013-01-26 21:00
【转】c++ web编程:写出你的CGI程序(英文)
原文地址:http://www.tutorialspoint.com/
cplusplus
/cpp_web_programming.htmWhatisCGI?
lewsn2008
·
2013-01-20 16:00
AMPS:队列源码解读
AMPS_Queue.h#ifndef__HEADER_AMPS_QUEUE_H #define__HEADER_AMPS_QUEUE_H #ifdef__
cplusplus
extern"C"{ #
dyx1024
·
2013-01-19 20:00
【转】c++ web编程:写出你的CGI程序
http://www.cnblogs.com/moonlove/archive/2012/02/22/2509147.html英文原文地址:http://www.tutorialspoint.com/
cplusplus
lewsn2008
·
2013-01-19 13:00
C和C++混合编程(__
cplusplus
使用)
通常,在C语言的头文件中经常可以看到类似下面这种形式的代码:#ifdef__cplusplusextern"C"{#endif #ifdef__
cplusplus
}#endif那么,这种写法什么用呢?
sahusoft
·
2013-01-15 22:00
C++与C混编
*/#ifdef__
cplusplus
}#endif#endif/*__INCvxWorksh*/分析:1显然,头文件中的编译宏“#ifndef_
lanbing510
·
2013-01-15 16:00
L,_T(),_TEXT()的秘密
_T()与_TEXT()源码在tchar.h文件里有如下宏定义:#ifdef__
cplusplus
//__
cplusplus
该宏代表是否是c++,如果不是c++是c语言的话就不会定义该宏 extern"C
jiese1990
·
2013-01-12 14:00
c++语法
编译C++程序时,编译器自动定义了一个预处理名字__
cplusplus
,而编译标准C时,自动定义名字__STDC__。
MyGameZone
·
2013-01-09 19:00
c++语法
0.编译C++程序时,编译器自动定义了一个预处理名字__
cplusplus
,而编译标准C时,自动定义名字__STDC__。
ydbc
·
2013-01-09 19:00
C++
俄罗斯方块c源代码
#include#include#include#include#include#ifdef__
cplusplus
#define__CPPARGS...
loadstar_kun
·
2013-01-08 10:00
__LINE__ __FILE__ ......
它们是:__LINE____FILE____DATE____TIME____STDC__C++中还定义了__
cplusplus
如果编译器不是标准的,则可能仅支持以上宏名中的几个,或根本不支持。
liaoxianming
·
2013-01-04 16:00
interface/class 的 Nonmutating 和 Idempotent
它们在概念上等效于
Cplusplus
的const成员函数。
dodo_check
·
2013-01-04 13:00
linux下一个内存池实现
memory_pool.h#ifndef_MEMORY_POOL_H_ #define_MEMORY_POOL_H_ #ifdef__
cplusplus
namespacemem_pool{extern"C
lxgwm2008
·
2013-01-02 14:00
linux
linux
linux
内存池
原:printf格式化字符串说明
参考:http://www.
cplusplus
.com/reference/clibrary/cstdio/printf/格式:%[flags][width][.precision][length]specifier
佳为好友
·
2012-12-29 10:00
关于vector的resize()的理解
先看看http://www.
cplusplus
.com/reference/vector/vector/resize/std::vector::resizevoidresize(size_typen,value_typeval
ubunfans
·
2012-12-28 15:00
C++指针&引用
http://www.
cplusplus
.com/articles/1075fSEw/ApointeroraReference(Aliasaccordingtosome).Doesthecomplierreallycare
sanbailiushiliuye
·
2012-12-24 16:00
C与C++混合编程的再度讨论
*C++编译器编译生成此函数的Clinkage*C程序调用这个函数时,应该去掉extern"C"重新声明函数,上一篇文章中提到了如何使用__
cplusplus
这个宏来控制是否有这个前缀。
bendanban
·
2012-12-23 18:00
C++与C变量或函数的混合调用
先将程序贴出来,然后在分析://filename:inct.h #ifndef_INCT_H_ #define_INCT_H_ #defineNUM8 #ifdef__
cplusplus
extern"C
bendanban
·
2012-12-23 10:00
转-VC中常用的宏
1、C/C++中的宏 __
cplusplus
如果当前编译器为C++,该值为1。 __DATE__ 当前源码的编译日期,格式为Mmmddyyyy。 __TIME__ 当
dragoo1
·
2012-12-21 09:00
#ifdef __
cplusplus
extern "C" { #endif”的定义的含义
看一些程序的时候老是有“#ifdef__cplusplusextern"C"{#endif”的定义,搞搞清楚是怎么回事:Microsoft-SpecificPredefinedMacros__cplusplusDefinedforC++programsonly. 意思是说,如果是C++程序,就使用extern"C"{而这个东东,是指在下面的函数不使用的C++的名字修饰,而是用C的Thefollow
zeusuperman1
·
2012-12-20 16:00
C++ redis client安装全过程
1.下载:C++版本的redisclient下载链接:https://github.com/mrpi/redis-
cplusplus
-client2.首先需要安装boost库,在linux下安装boost
zgl_dm
·
2012-12-19 10:00
c++模板的应用
originalurlfrombelow:http://www.codeproject.com/Articles/257589/An-Idiots-Guide-to-
Cplusplus
-Templates-Part
·
2012-12-16 17:00
Multiset(下)——Boost中的bimap和multiset_of
不过在此之前,最好还是先了解下std::multimap: http://blog.csdn.net/believefym/article/details/1627874http://www.
cplusplus
.com
zzxiang1985
·
2012-12-16 16:00
extern "C" 介绍(转)
本文转自:http://www.cnblogs.com/ppazhang/archive/2012/11/27/2790920.html时常在cpp的代码之中看到这样的代码: #ifdef__
cplusplus
wangqiulin123456
·
2012-12-13 20:00
vector构造函数
下面是从
cplusplus
.com复制过来的一段代码,简单明了的说明了vector不同的构造函数用法。
lwfcgz
·
2012-12-07 23:00
[C/C++]堆栈指引
标签: 函数参数与局部变量 kernel linux 堆栈 it分类: C/
CPlusPlus
前言我们经常会讨论这样的问题:什么时候数据存储在堆栈(Stack)中,什么时候数据存储在堆(Heap)中。
zeusuperman1
·
2012-12-07 14:00
Redis 的 C++开发包 使用例子
1.首先安装完毕redis2.安装boost库3.开发包下载地址:redis-
cplusplus
-client4.上代码#include"redisclient.h"#include#includeusingnamespaceboost
youngqj
·
2012-12-06 17:31
c++
Redis 的 C++开发包 使用例子
1.首先安装完毕redis 2.安装boost 库 3.开发包下载地址: redis-
cplusplus
-client 4.上代码 #include &
hn67
·
2012-12-06 17:00
redis
C++
Redis 的 C++开发包 使用例子
1.首先安装完毕redis2.安装boost库3.开发包下载地址:redis-
cplusplus
-client4.上代码#include"redisclient.h" #include #include
youngqj
·
2012-12-06 17:00
Redis 的 C++开发包 使用例子
1.首先安装完毕redis2.安装boost库3.开发包下载地址:redis-
cplusplus
-client4.上代码#include"redisclient.h"#include#includeusingnamespaceboost
youngqj
·
2012-12-06 17:00
c++
读勘误
读http://www.
cplusplus
.com/doc/tutorial/笔记,以及勘误P80,Pointerstostructures的示例程序有://pointerstostructures#include
hanbaobao2005
·
2012-12-04 11:04
offsetof 宏的简介
原文地址:http://baike.baidu.com/view/5513779.htm定义在stddef.h头文件中,该宏的完整说明如下: #ifdef__
cplusplus
#ifdef_WIN64
HEVC_CJL
·
2012-12-03 19:00
c
c
struct
struct
语言
宏
offsetof
cplusplus
&Apache C++ Standard Library Reference...
cplusplusApacheC++StandardLibraryReferenceGuide cppreference
li375669512
·
2012-12-01 22:00
vxworks中FUNCPTR、LOCAL、STATUS的原型
STATUSint IMPORTextern FASTregister FUNCPTR在文件target/h/types/vxTypesOld.h中: #ifdef__
cplusplus
pengrui18
·
2012-11-21 19:00
C and C++ call
1.c++callcfunction#ifdef__cplusplusextern"C"{#endifvoidfun1(intn);voidfun2(intn);#ifdef__
cplusplus
}#endif
fanbird2008
·
2012-11-20 13:00
ffmpeg API录制rtsp视频流
#include #ifdef__
cplusplus
extern"C"{ #endif #include #include //#include #ifdef_MSC_VER
zxwangyun
·
2012-11-16 13:00
判断一个程序是C编译的还是C++编译
判断一个程序是C编译的还是C++编译如果编译器在编译cpp文件那么__
cplusplus
就会被定义 如果是一个c文件在被编译那么__STDC__就会被定义__STDC__是预定义宏。
热转印www.yxheatpress.com
·
2012-11-12 11:00
NSObjCRuntime.h
*/#include #ifdefined(__
cplusplus
)#defineFOUNDATION_EXTERNextern "C"#else#defineFOUNDATION_EXTERNextern
SoulHao
·
2012-11-08 20:00
stl priority_queue的使用
from:http://www.
cplusplus
.co
Dijason
·
2012-11-08 16:00
探索extern "C"
下面的代码段,在C程序里,应该经常可见 #ifdef __
cplusplus
exte
xitong
·
2012-11-05 15:00
extern
Effective Exception Handling in Visual C++
中进行有效的异常处理 出自CodeProject,原文链接:http://www.codeproject.com/Articles/207464/Exception-Handling-in-Visual-
Cplusplus
qyfcool
·
2012-11-04 20:00
C++
C++
exception
Signal
小知识点2
__
cplusplus
必须是小写3.用HMODULE做基址时,要转化为(BYTE*)4.Windows消息分为队列消息和非队列消息,WH_GETMESSAGE不能取到非队列消息,用SendMessage
pud_zha
·
2012-10-31 14:00
#ifdef __
cplusplus
倒底是什么意思?
时常在cpp的代码之中看到这样的代码:#ifdef__
cplusplus
extern"C"{ #endif//一段代码#ifdef__
cplusplus
} #endif 这样的代码到底是什么意思呢?
HMSIWTV
·
2012-10-28 14:00
和菜鸟一起学c之回调函数简单实例
#ifdef__
cplusplus
extern"C"{
eastmoon502136
·
2012-10-26 09:00
上一页
29
30
31
32
33
34
35
36
下一页
按字母分类:
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
其他