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
ZeroMQ库编译
ZeroMQ库编译一、zmq下载官网:https://zeromq.org/languages/
cplusplus
/官网里面有各语言下载链接及简单用例GitHub下载链接:https://github.com
蕾蕾的好包包
·
2020-09-12 00:11
ZereMQ
socket
zeromq
c++
语法:c++对关于空指针0/NULL/nullptr三者的演变
NULL声明在cstdlib中:#ifdef__
cplusplus
#defineNULL0#else=#defineNULL((void*)0)#endif发现在C中NULL的类型为void*,是因为C
叶赫那拉坤
·
2020-09-11 20:17
C++
ffmpeg 静态库文件 使用方法,以及ffmpeg 静态库资源文件地址
环境下vc++完美演绎https://download.csdn.net/download/tytok/10563428#include#include#include#include#ifdef__
cplusplus
我自编程向天笑
·
2020-09-11 20:11
VC++
技术学习
ffmpeg
ffmpeg
vc
静态库文件
ffmpeg
静态库文件大全
vs2010中调用ffmpeg库
在头文件中应该加上:#ifdef__cplusplusextern"C"{#endif//#include#ifdef__
cplusplus
}//endofextern"C"#endif或者在头文件中使用
t1234xy4
·
2020-09-11 20:32
图形图像
NULL指针解引用出错
只要对NULL指针解引用,程序就会崩溃在C语言中对void*指针进行解引用会造成编译错误在C语言的头文件stddef.h中,NULL的定义如下:#defineNULL#define__
cplusplus
selina8921
·
2020-09-11 20:09
c
C++中std::sort/std::stable_sort/std::partial_sort的区别及使用
它默认是利用元素类型的#include//std::sort#include//std::greater#include#include#include/////reference:http://www.
cplusplus
.com
fengbingchun
·
2020-09-11 14:18
C/C++/C++11
【C++】基于“stringstream+getline”实现字符串分割(split)
http://www.
cplusplus
.
Houchaoqun_XMU
·
2020-09-11 13:06
【C++】
C++
数据结构
C++中文件读取处理(按行或者单词)
文件读写需要引fstream,如果对fstream不了解的话,可以查一查官方的文档
cplusplus
这个网站。一般常用的函数就是open,close,getline…具体的函数不会了直接查一下,学
xy913741894
·
2020-09-11 13:32
C++
c++ iostream & fstream
http://www.
cplusplus
.com/reference/iolibrary/提供C++的输入/输出设施头文件:#includeusingnamespacestd;iostream库包含了两个基本的类
luanqibaazao
·
2020-09-11 02:47
C/C++
编程笔试面试相关
C++引用ffmpeg出错#error missing -D__STDC_CONSTANT_MACROS
#ifdef__
cplusplus
#define__STDC_CONSTANT_MACROS#ifdef_STDINT_H#undef_STDINT_H#endifextern"C"{#include}
lijiebit
·
2020-09-11 01:05
ffmpeg库编译时提示common.h文件错误C1189 #error: missing -D__STDC_CONSTANT_MACROS / #define
ffmpeg库编译时提示错误C1189#error:missing-D__STDC_CONSTANT_MACROS/#define在common.h头文件添加如下内容即可解决#ifdef__
cplusplus
Me丶You
·
2020-09-11 00:14
FFMpeg库编译
FFmpeg+MinGW+VS2013
defined(__
cplusplus
)#defineinli
TQ_Huang
·
2020-09-10 23:46
FFmpeg
C++——发展历史
该文由http://www.
cplusplus
.com/info/history/网站《HistoryofC++》翻译。
Coco~567
·
2020-09-10 18:00
c++学习之路
__
cplusplus
注意事项
__
cplusplus
注意事项__
cplusplus
是C++编译器内部定义的宏,用于定义c++编译器的版本,一般开发人员用此宏判断是c程序还是c++程序,除此外,不清楚__
cplusplus
的其余用途,
tusong86
·
2020-09-10 18:09
[C++]Shared_ptr使用详解&&实现链表
(知识点摘自
cplusplus
)构造部分构造函数有4个参数分别有以下含义:#in
stary_yan
·
2020-09-10 17:55
C++编程
史上最全的C++面试宝典(八)—— 异常处理
参考:https://www.runoob.com/
cplusplus
/cpp-tutorial.html本教程旨在提取最精炼、实用的C++面试知识点,供读者快速学习及本人查阅复习所用。
最靓的仔
·
2020-08-26 07:28
C++
c++
面试
编程语言
后端
史上最全的C++面试宝典(合集)
参考:https://www.runoob.com/
cplusplus
/cpp-tutorial.html本教程旨在提取最精炼、实用的C++面试知识点,供读者快速学习及本人查阅复习所用。
最靓的仔
·
2020-08-26 07:28
C++
c++
面试
后端
OC一些宏定义
一、在一些宏处理中常有ifdef__
cplusplus
如下:#ifdef__cplusplusextern"C"{#endif//一段代码//...//...
RHC-2008
·
2020-08-25 16:11
Object
C
C++ STL insert
1.insert具体介绍:http://www.
cplusplus
.com/reference/vector/vector/insert/2.insert用法:singleelement(1)iteratorinsert
CS_ChenLI
·
2020-08-25 15:10
C++学习
C++
STL
#ifdef __
cplusplus
extern c #endif 的作用
其实很简单,作用就是如果此头文件是在c++中使用的(就是一个.cpp文件include此头文件,而不是一个.c文件),那么函数名称粉碎方式仍然使用C中的方式。(就是此函数编译后在object文件中的内部名称和C中是兼容的)比如voidfoo1();如果c文件包含了它,生成的object文件中此函数被命名为c_foo1,而在cpp文件中包含了它,生成的object中此函数命名为cpp_foo1,使用
peterli_xue
·
2020-08-25 11:41
c/c++
C和C++到底有什么关系?
C++读作“C加加”,是“
CPlusPlus
”的简称。
芜湖达内科技
·
2020-08-25 00:07
gcc -D选项 编译时添加宏定义
includeintmain(intargc,char*argv[]){#ifdefDEBUGprintf("gcc的-D选项测试\n");#endifreturn0;}直接编译运行不会有任何结果:yu@ubuntu:~/
cplusplus
lesliefish
·
2020-08-24 18:30
Linux
programming
c++ 编写 dll 供易语言调用
//*.h声明文件,易语言调用无堆那个错误#ifdef__
cplusplus
#defineEXPORTextern"C"__declspec(dllexport)#else#defineEXPORT__
ieg123
·
2020-08-24 16:38
c++
为什么混用 C C++ 需要 #ifdef __
cplusplus
extern "C"
#ifdef__
cplusplus
}#endif昨天听同学聊天说到这个,被diss一番。于是今天下决心到网上搜了搜,发现好像是C++和C的语法有些地方会冲突。因此如果要混合CC
在到处之间找我
·
2020-08-24 16:44
#
C/C++
C++高级编程(多线程)
转自:http://www.runoob.com/
cplusplus
/cpp-multithreading.html小结:多线程是多任务处理的一种特殊形式,多任务处理允许让电脑同时运行两个或两个以上的程序
不合格码农
·
2020-08-24 14:51
gcc 5.4 默认不支持c++11
理论上来讲5.4应该支持C++11,时间20160609,但是实际上__
cplusplus
的值却是199711L最后看到一篇文章的一句话,原来是默认不支持。
qq_38415161
·
2020-08-24 12:08
c++
gcc使用c++库
需要做以下两步工作:1、定义头文件时,要加上#ifdef__cplusplusextern"C"{#endif头文件内容#ifdef__
cplusplus
}#endif这个是表示在c++编译器编译时,生成的函数名使用
kl222
·
2020-08-24 12:06
Linux编程
[exgcd算最值] luogu 3951
include#include#include#include#include#include#include#include#include#include#include#include#if__
cplusplus
kosf_
·
2020-08-24 08:03
c++ 读取csv文件
includeusingnamespacestd;intmain(intargc,char*argv[]){ifstreamfile("D:\\test.csv");//declarefilestream:http://www.
cplusplus
.com
jxusthusiwen
·
2020-08-24 08:18
C++不可拷贝基类实现
Privatecopyconstructorandcopyassignmentensureclassesderivedfrom//classnoncopyablecannotbecopied.classnoncopyable{protected:#if __
cplusplus
漂流瓶0429
·
2020-08-24 04:47
C/C++
C++
noncopyable
不可拷贝基类实现
C++ 指针,引用
http://www.runoob.com/
cplusplus
/cpp-pointers.htmlhttp://www.runoob.com/
cplusplus
/cpp-references.html指针很重要
草原_苍狼
·
2020-08-24 00:27
c++
线程顺序打印ABC
程序代码如下:#include#includeusingnamespacestd;#ifdef__cplusplusextern"C"{#endif#include#include#ifdef__
cplusplus
aries5555
·
2020-08-23 23:09
linux多线程
C++和C语言代码相互调用
语言函数编译成静态库//--------------cfun.h#ifndef__C_FUN_H__#define__C_FUN_H__ #ifdef__cplusplusextern"C"{#endif//__
cplusplus
algiz_kk
·
2020-08-23 11:51
c/c++
如何提问
将自己目前体会到的提问经验总结如下:了解自己正在面对的问题,比如,用搜索引擎查询每一个自己不认识的字词和术语,在MSDN、
Cplusplus
.com、MDN等地方,查询并阅读官方文档。
辛辣之火可以燎原
·
2020-08-23 10:13
说个笑话-fatal error: iostream: No such file or directory /fatal error: stdio.h: No such file or direct
譬如编译一个test_
cplusplus
_sort.cppaarch64-poky-linux-g++-vtest_
cplusplus
_so
sung_june
·
2020-08-23 06:42
yocto
project
GCC 4.6.3段错误(核心已转储)
/*标准输入输出定义*/#include/*错误号定义*/#include/*POSIX终端控制定义*/#include#include#include#include#include#ifdef__
cplusplus
kbwzy
·
2020-08-23 06:09
c++
c
map容器find用法
map容器是STL中比较强大的一个container,下面的代码主要讲的是map容器中find函数的用法,代码取自:http://www.
cplusplus
.com/reference/map/map/
weixin_30429201
·
2020-08-22 23:58
ffmpeg opencv 打开视频文件,并且播放
include#include#include#include#include#include#include#include#include#include#include#include#ifdef__
cplusplus
caimagic
·
2020-08-22 20:01
FFmpeg
android开发调用c++共享库so文件
1、编写libaab.cpp#include#include#ifdef__cplusplusextern"C"{#endifintgo(){return555;}#ifdef__
cplusplus
}#
weixin_33898876
·
2020-08-22 19:43
解决NDK的STL版本不支持exception的问题
参考资料android-ndk-r8b/docs/
CPLUSPLUS
-SUPPORT.html1.Application.mk里添加APP_STL:=gnustl_static因为默认的库是最小的,很多特性不支持
hypercode
·
2020-08-22 12:02
(网络学习)8、c++面向对象笔记
课程:C++数据类型:https://www.runoob.com/
cplusplus
/cpp-data-types.htmlC++远征之离港篇:https://www.imooc.com/learn/
沧浪水
·
2020-08-22 12:40
c++
面向对象编程
Linux下C和C++相互调用
C++调用C代码C++中相关的定义及声明#ifdef__cplusplusextern"C"{#endif//__
cplusplus
#includevo
TianJinCheng'Blog
·
2020-08-22 09:50
瑞萨单片机程序1
程序包括以下几个部分:系统时初始化(FRQCR);I/O初始化;LED初始化;主程序//#include"typedefine.h"#ifdef__
cplusplus
//#include//Removethecommentwhen
Hustudent20080101
·
2020-08-22 09:41
瑞萨单片机
Doxygen的使用(附安装包链接)
这里介绍查找C语言的标准库函数的两种方法:一种方法是直接到http://www.
cplusplus
.com这个网站上去查看:这里覆盖了C语言标准库中的所有函数,给出了每个函数的介绍并且都给出了具体的用法示例
zhengnianli
·
2020-08-21 12:07
工具/资源/技巧
FFMPEG 从rtsp抓取流,转存为flv文件
include#define__STDC_CONSTANT_MACROS#ifdef__cplusplusextern"C"{#endif#include#include#include#ifdef__
cplusplus
来福4
·
2020-08-21 09:58
音视频编解码
FFmpeg解码MP4文件为h264和YUV文件
#include#ifdef__cplusplusextern"C"{#endif#include#include#include#ifdef__
cplusplus
};#endifusingnamespacestd
墨雨依旧付疏狂Q
·
2020-08-21 09:56
C++ STM32 编程 005 用c++编写STM32程序的准备
另外在HAL库中,几乎每个.h头文件都有这种宏#ifdef__cplusplusextern"C"{#endif#ifdef__
cplusplus
}#endif由此,我们可以大胆的使用c++的各种特性了
FRAM
·
2020-08-21 08:52
stm32
空指针,段错误,还是不知道bug在哪里?
defined(NULL) && defined(__NEEDS_NULL)#ifdef _
cplusplus
#defin
ybhuangfugui
·
2020-08-21 07:55
C++11 并发指南------std::thread 详解
参考:https://github.com/forhappy/
Cplusplus
-Concurrency-In-Practice/blob/master/zh/chapter3-Thread/Introduction-to-Thread.md
weixin_34117211
·
2020-08-21 06:35
内存序列-memor order
这个工作只是临时起意,也不是什么意义重大的工作,因此也没有寻找更权威的资料,最主要的参考是
cplusplus
上的reference,如果有错误之外,真心希望您来指正一下,自己真的逐个字死磕类型的。
lipeng08
·
2020-08-21 04:28
C++
上一页
6
7
8
9
10
11
12
13
下一页
按字母分类:
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
其他