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++ 项目中的extern c
.*/ #ifdef__
cplusplus
}#endif它到底有什么用呢,你知道吗?而且这样的问题经常会出现在面试or笔试中。
hjxhjh
·
2013-10-22 11:00
c++命名空间三种实现文件的区别
实现时一般有三种途径:1、用完全限定名,如:ostream&
cplusplus
_primer::operator#includenamespacecplusplus_primer{ usingnamespacestd
fangjian1204
·
2013-10-06 15:00
C++
sort的用法
sort的用法:详细见
cplusplus
。1.默认的sort函数是按升序排。
u012315428
·
2013-10-02 14:00
探索C++的秘密之详解extern "C",这就是为什么很多.lib被我们正确调用确总是无法解析的。
这是C++编译和C编译的区别时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif这样的代码到底是什么意思呢
·
2013-09-29 19:00
extern
求绝对值函数abs()到底应该包含哪个头文件
参考网站:http://www.
cplusplus
.com/referenceC标准:只在stdlib.h中有定义abs():intabs(intn)
booksyhay
·
2013-09-29 15:49
微笔记
C/C++
C++ stl中remove的实现
原文:http://www.
cplusplus
.com/reference/algorithm/remove/ c++98中的实现: template <class ForwardIterator
7090
·
2013-09-24 23:00
remove
#ifdef __
cplusplus
深度剖析
原文:http://bbs.ednchina.com/BLOG_ARTICLE_251752.HTM时常在cpp的代码之中看到这样的代码: #ifdef__
cplusplus
extern"C"
chj90220
·
2013-09-21 19:00
CPlusPlus
Hook SSDT中NtCreateProcessEx
1#ifdef__
cplusplus
2extern"C" 3{ 4#endif 5#include 6#ifdef__
cplusplus
7} 8#endif 9 10 11typedefstruct_ServiceDescriptorTable
·
2013-09-20 23:00
process
sprintf 与 strchr
摘自c++refercence http://www.
cplusplus
.com/reference/cstdio/sprintf/?
zxdfc
·
2013-09-11 13:00
c++知识点--extern "C" 读书笔记
*/#ifdef__
cplusplus
}extern"C"包含双重含义,从字面上即可得到:首先,被它修饰的目标是“extern”的;其次,被它修饰的目标是“C”的。让我们来详细解读这两重含义。
xiaoman163
·
2013-09-04 14:54
知识点
编译器
《Windows驱动开发技术详解》读书笔记 来自 http://phinecos.blog.51cto.com/1941821/368163
#pragma once #ifdef __
cplusplus
extern "C" { #endif #include
li857795020
·
2013-09-04 10:00
参考ffmpeg的例子写的h264编解码显示程序
#ifdef__
cplusplus
extern"C"{ #endif #include #include #include #include #include #i
jia_zhengshen
·
2013-08-29 16:00
代码
#define_AFXDLL #include #ifdef__
cplusplus
extern"C"{ #endif #include #include #include //#include //
jia_zhengshen
·
2013-08-28 12:00
C++项目中的extern "C" {}
.*/ #ifdef__
cplusplus
}#endif它到底有什么用呢,你知道吗?而且这样的问题经
sun_x_t
·
2013-08-28 11:00
编程
面向对象
C语言
模版类
http://www.
cplusplus
.com/doc/tutorial/templates/http://blog.csdn.net/justin12zhu/article/details/3893422
cmsbupt
·
2013-08-27 22:00
std::sort
(转载:http://www.
cplusplus
.com/reference/algorithm/sort/)default(1)template voidsort(RandomAccessIteratorfirst
guggy
·
2013-08-27 13:00
找工作之“整数转化为字符串---itoa实现“
整数转化为字符串,就是itoa函数(http://www.
cplusplus
.com/reference/cstdlib/itoa/),例如输入123,得到字符串“123”。
scalerzhangjie
·
2013-08-26 15:00
c
工作
itoa实现
"Cannot declare member function ...to have static linkage"错误
转自:http://blog.csdn.net/guoxiaojie_415/article/details/5364354基本的语法错误,郁闷了我半天,相关的资料可以参考:http://
cplusplus
.syntaxerrors.info
lijiatong1005
·
2013-08-14 15:00
ANSI C标准中有几个标准预定义宏(也是常用的):
__:在源文件中插入当前源文件名;__DATE__:在源文件中插入当前的编译日期__TIME__:在源文件中插入当前编译时间;__STDC__:当要求程序严格遵循ANSIC标准时该标识被赋值为1;__
cplusplus
zbyzhlsp2
·
2013-08-11 15:00
Sicily 1006. Team Rankings
http://soj.me/1006数据太小,直接暴力....这是 next_permutation用法: http://www.
cplusplus
.com/reference/algorithm/next_permutation
jcjc918
·
2013-08-11 11:00
字符串
内核分析PE获取DLL导出函数地址
头文件HelloWDM.h#if__cplusplusextern"C"{#endif#include#include#ifdef__
cplusplus
飘雪超人
·
2013-08-10 16:00
Vim 中使用 OmniComplete 为 C/C++ 自动补全(部分增加)
对原文做了部分修改及增加,原文地址http://timothyqiu.com/archives/using-omnicomplete-for-c-
cplusplus
-in-vim/OmniComplete
crazypenguin
·
2013-08-10 11:00
vim
c/c++
fedora
OmniComplete
深入学习Make命令和Makefile
http://os.51cto.com/art/200806/75991.htmC++库函数http://www.
cplusplus
.com/reference/cstring/http://msdn.microsoft.com
cmsbupt
·
2013-08-08 16:00
#ifdef __
cplusplus
倒底是什么意思?
转自:http://www.cnblogs.com/stonecrazyking/archive/2006/09/23/512552.html时常在cpp的代码之中看到这样的代码:#ifdef__
cplusplus
great3779
·
2013-08-07 09:00
C语言extern的用法及作用
/* procrank.h */#include #ifndefPROCRANK_H #definePROCRANK_H #ifdef__
cplusplus
extern"C
poolwater
·
2013-08-06 19:00
【时间规划】国内外程序员网站及资料
国外http://www.drdobbs.com/cpp/http://www.
cplusplus
.com/ http://www.codeproject.com/ http://www.cprogramming.com
lizizhe1880
·
2013-08-06 14:00
输出源文件的标题和目前执行行的行数
__:在源文件中插入当前源文件名;__DATE__:在源文件中插入当前的编译日期__TIME__:在源文件中插入当前编译时间;__STDC__:当要求程序严格遵循ANSIC标准时该标识被赋值为1;__
cplusplus
zbyzhlsp2
·
2013-08-06 12:00
C++中STL STD::list使用说明
转自:http://www.cnblogs.com/fangyukuan/archive/2010/09/21/1832364.htmlhttp://www.
cplusplus
.com/reference
zhoujiaxq
·
2013-08-06 09:00
配置管理小报100309:C++项目的敏捷实践
参考: 作者:王××(zbwangjian@××.cn)C++项目的敏捷实践引自:http://www.infoq.com/cn/presentations/yuanyingjie-
cplusplus
-agilehttp
tadcat
·
2013-08-03 12:00
ffmpeg API录制rtsp视频流
#include #ifdef __
cplusplus
extern "C" { #endif #include
zhanjianshinian
·
2013-07-26 12:00
api
ffmpeg
录制
RTSP
视频流
error C2065: 'SetDefaultPrinter' : undeclared identifier
把下在的内容加到winspool.h文件末尾#ifdef__
cplusplus
的前面就可以了BOOL WINAPI SetDefaultPrinterA( LPCTSTRpszPrinter ); BOOL
thdxs
·
2013-07-25 13:00
AIX 安装GCC
包(ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/)gcc-4.7.2.aix6.1.ppc.rpm,gcc-
cplusplus
aironet
·
2013-07-23 12:11
gcc
AIX
freopen()函数在ACM中的使用
下面为函数的简介,详细可参见http://www.
cplusplus
u010787640
·
2013-07-21 10:00
用最笨的方法,实现的最短路径算法(C语言)
#include"commondef.h" #include"depthsearch.h" #ifdef__
cplusplus
extern"C" { #endif voidSearchDestNode
Jaden
·
2013-07-19 23:54
C语言
最短路径
VS2012编译调试WDM驱动(KdPrint无调试信息)
选项等一系列的参数比以前方便了不少新建以后是空项目放入《windows驱动开发技术详解》中第一章的WDM代码分别是:HelloWDM.h#if__cplusplusextern"C"{#endif#include#ifdef__
cplusplus
飘雪超人
·
2013-07-19 18:00
kdprint
[置顶] VS2012编译调试WDM驱动(KdPrint无调试信息 win7无调试信息)
项目如图这点说明不用自己配置文件目录C/C++ 选项LINK 选项等一系列的参数比以前方便了不少新建以后是空项目放入《windows驱动开发技术详解》中第一章的WDM代码分别是:HelloWDM.h#if__
cplusplus
whatday
·
2013-07-19 18:00
kdprint
opencv2 直方图
懒得自己写了http://www.xufangxi.cn/
CPlusPlus
/76.htmlcalcHist只针对单通道,也比较和灰度直方图的概念 #include #include #include
loadstar_kun
·
2013-07-19 11:00
关于可变参数(不定参数),以及windows下将进程的cpu,内存统计信息写到日志
单纯的写日志,没必要使用可变参数,但是不利于封装,代码难看,今天研究了一下可变参数先查看手册:http://www.
cplusplus
.com/reference/cstdio/vsprintf/?
vsooda
·
2013-07-18 10:00
C++中的type_info(中英文版)
(From:http://www.
cplusplus
.com/reference/typeinfo/type_info/)classstd::type_infoclasstype_info;Typeinfor
BigLeo
·
2013-07-17 20:00
Printf 里%f,%g的若干使用
引用一个很有用的网址:http://www.
cplusplus
.com/reference/cstdio/printf/%[flags][width][.precision][length]specifier
chm517
·
2013-07-14 14:23
【STL&&IO】
关于"保留小数点后几位数字"之我见
1.C++中格式控制 在C++中,说到保留小数点后几位有效数字,就会想起setprecision,马上去
cplusplus
上查了下有关setprecision的资料
lcj_cjfykx
·
2013-07-10 02:00
对__BEGIN_DECLS 和 __END_DECLS 的理解
__END_DECLS#if defined(__
cplusplus
) #define__BEGIN_DECLSextern "C" { #define__END_DECLS }
turkeyzhou
·
2013-07-09 18:00
__
cplusplus
与extern "C"
__
cplusplus
与extern"C" Microsoft-SpecificPredefinedMacros __cplusplusDefinedforC++programsonly.
nkliming
·
2013-07-06 18:00
C++
c
extern
__cplusplus
C++如何调用C
//MathFun.h#ifndefMATHFUN_H #defineMATHFUN_H #ifdef__
cplusplus
extern"C"{ #endif #include /* *函数名:matMult
lyc_daniel
·
2013-07-04 16:00
C++调用C
C++ Fragments
0.检索C++API的无敌好网站:
cplusplus
C++惯用法,介绍在不同情况下C++的BestPractice:MoreC++Idioms1. %.2f输出两位小数.2. atof转string
sailtseng
·
2013-07-04 13:00
C++
小片段
STL中算法
#############http://www.
cplusplus
.com/reference/algorithm/这边都有了~StandardTemplateLibrary:AlgorithmsTheheaderdefinesacollectionoffunctionsespeciallydesignedtobeusedonrangesofelements.Arangeisanysequence
ruguonandao
·
2013-07-03 16:00
C++
算法
STL
__
cplusplus
与extern "C"
Microsoft-SpecificPredefinedMacros__cplusplusDefinedforC++programsonly.上面的意思是说,如果是C++程序,就使用(即定义__
cplusplus
whatday
·
2013-06-27 10:00
__
cplusplus
与extern "C"
Microsoft-SpecificPredefinedMacros__cplusplusDefinedforC++programsonly.上面的意思是说,如果是C++程序,就使用(即定义__
cplusplus
飘雪超人
·
2013-06-27 10:00
c++重载new/delete
g=
cplusplus
&seqNum=40OverridingnewanddeleteLastupdatedJan1,2003.Ifyou’relookingformoreup-to-dateinformationonthistopic
lovewubo
·
2013-06-26 10:00
c语言NULL
//stddef.h #ifndef_LINUX_STDDEF_H #define_LINUX_STDDEF_H #undefNULL #ifdefined(__
cplusplus
) #defineNULL0
macker
·
2013-06-19 17:00
上一页
27
28
29
30
31
32
33
34
下一页
按字母分类:
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
其他