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
#ifndef __
cplusplus
的意思?
编译会出现没有定义的错误,问题应该是没有包含该宏定义的头文件,头文件为stdlib.h,奇怪的是包含该头文件后,编译还是出错,我所有的开发工具是VC6.0.我定位到该宏所在的头文件代码,代码如下:1:#ifndef__
cplusplus
2
wanwenweifly4
·
2011-06-22 20:00
c
语言
开发工具
编译器
c++中的 extern "C"
通常,在C 语言的头文件中经常可以看到类似下面这种形式的代码: #ifdef __
cplusplus
extern "C" { #endif /***
东边日出西边雨
·
2011-06-21 20:00
C++
c
C#
gcc
D语言
C+ __
cplusplus
剖析
__
cplusplus
剖析 时常在cpp的代码之中看到这样的代码: #ifdef __
cplusplus
&
weihe6666
·
2011-06-21 15:00
C++
c
C#
F#
gcc
VS2008生成静态库即调用静态库
生成lib方法: 步骤一,新建项目Win32 Project->Static library,建立一个头文件Lib.h #pragma once #ifdef __
cplusplus
weihe6666
·
2011-06-21 14:00
C++
tolower
From:http://www.
cplusplus
.com/reference/clibrary/cctype/tolower/#includeor#includetolowerinttolower(intc
zhanglibin_1222
·
2011-06-16 23:37
职场
休闲
tolower
tolower用法
tolower头文件
lwip1.4 arp #ifdef __
cplusplus
倒底是什么意思?
时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif这样的代码到底是什么意思呢?
xmphoenix
·
2011-06-14 15:00
GNU编译器:gcc中的预编译宏
*__NASE_FILE__源文件的完整路径名,和__FILE__不同,被引用的文件仍然是原来文件名 *__CHAR_UNSIGNED__用于指定该机器上char是无符号类型 *__
cplusplus
peterli_xue
·
2011-06-12 23:00
优化
function
gcc
File
include
编译器
makefile编写
main.c,son.c,son.h(1) son.h:#ifndefSON_H#defineSON_H#ifdef__cplusplusextern"C"{#endifvoidprint();#ifdef__
cplusplus
HEYUTAO007
·
2011-06-03 10:00
gcc与g++测试
只有源码是.c,且用gcc编译时,才会有__
cplusplus
宏定义。 链接时gcc链接的话,不能自动链接c++库,需要手工添加-lstdc++gcc-lstdc++test
a345017062
·
2011-05-31 19:00
c
测试
gcc
扩展
TC中的时钟中断程序
如果定义了_
cplusplus
则表示在C+
sunrier
·
2011-05-23 16:00
#ifdef __
cplusplus
是什么意思?
#ifdef__
cplusplus
是什么意思?
A Za, A Za, Fighting...
·
2011-05-22 17:00
#ifdef __
cplusplus
学习
时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif这样的代码到底是什么意思呢?
markman101
·
2011-05-19 18:00
extern C实现C与C++函数的相互调用
graphics/archive/2010/12/24/1916343.html 经常看到如下代码:#ifdef_cplusplusextern"C"{#endif#include"XXX.h"#ifdef_
cplusplus
summer_liuwei
·
2011-05-16 22:00
[置顶] VS2010下FPU和SSE优化测试结果
include#includeusingnamespacestd;#defineasm__asm#defineARRAY_SIZE3000000clock_tstart,finish;voidinit_
CPLUSPLUS
swimmingfish2004
·
2011-05-16 15:00
优化
测试
System
include
float
2010
extern "C"
时常在cpp的代码之中看到这样的代码: #ifdef __
cplusplus
extern "C" { #endif //一段代码 #ifdef __
cplusplus
isiqi
·
2011-05-07 09:00
C++
c
C#
gcc
F#
windows和linux下面通用的线程程序
是从mysq里面抓出来的,只抓了一部分,主要是线程间通信,是用windows模拟linux,方便多线程的开发 #ifndefTP_OS_H#defineTP_OS_H#ifdef__
cplusplus
#
spche
·
2011-04-29 17:00
探索C++的秘密之详解extern "C"
时常在cpp的代码之中看到这样的代码: #ifdef__
cplusplus
extern"C"{ #endif //一段代码 #ifdef__
cplusplus
} #endif这样的代码到底是什么意思呢
gao5528
·
2011-04-28 15:00
C++
c
汇编
gcc
reference
编译器
extern 的用法
引言在用C++的项目源码中,经常会不可避免的会看到下面的代码:1#ifdef__
cplusplus
2extern"C"{3#endif45/*...*/67#ifdef__
cplusplus
8}9#endif
bruce0532
·
2011-04-25 13:00
c
header
语言
fortran
编译器
Signal
__
cplusplus
do=showone&tid=298 #ifdef __
cplusplus
extern "C" { #endif 省略代码N行 #i
xserver
·
2011-04-21 15:00
C++
c
PHP
C#
Blog
extern "C"
#ifdef __
cplusplus
extern "C" { #endif //一段代码 #ifdef __
cplusplus
} #endif 这样的代码到底是什么意思呢
RTY 实践出真知
·
2011-04-19 23:00
C和C++混合编程
__
cplusplus
这个是必须的#ifdef __cplusplusextern “C” {#endif// Routines Here#ifdef __
cplusplus
}#endifc++中调用c
天下
·
2011-04-19 11:00
各种连接字符串
各种数据库的连接字符串都在这个网站,以后可以直接进来查了,呵呵~~ http://www.connectionstrings.com/ 还有一个同学给推进啊的学习C++的很好的网址 http://
cplusplus
.com
gukesdo
·
2011-04-17 21:00
c
数据库
java 和 C++ Socket通信(java作为服务端server,C++作为客户端client,解决中文乱码问题GBK和UTF8)
代码: http://files.cnblogs.com/kenkofox/Client-
CPlusPlus
.rarhttp://files.cnblogs.com/kenkofox/Server_Java.rar
mengdejun
·
2011-04-16 22:00
java
C++
c
socket
C#
VS2005里面 _countof 的实现
defined(__
cplusplus
)#define_countof(_Array)(sizeof(_Array)/sizeof(_Array[0]))#elseextern"C++"{templatechar
magictong
·
2011-04-14 02:00
c
微软
编译器
北大c++教程
http://net.pku.edu.cn/~course/cs101/2008/resource/www.
cplusplus
.com/index.html http://net.pku.edu.cn/
sflsgfs
·
2011-04-10 14:00
C++
2010
mem_fun/mem_fun_ref用法和详解
在http://www.
cplusplus
.com/reference/std/functional/mem_fun_ref上可以看到mem_fun_ref的介绍和下面这个例子(transform算法的例子最好先熟悉一下
junjie020
·
2011-04-08 22:00
vector
String
fun
Numbers
functor
Pointers
关于"#ifdef __
cplusplus
" 和 " extern "C" "
看一些程序的时候老是有“#ifdef__cplusplusextern"C"{#endif”的定义,搞搞清楚是怎么回事:Microsoft-SpecificPredefinedMacros__cplusplusDefinedforC++programsonly.意思是说,如果是C++程序,就使用extern"C"{而这个东东,是指在下面的函数不使用的C++的名字修饰,而是用C的Thefollowi
summer_liuwei
·
2011-04-01 15:00
DSP头文件“#ifdef __
cplusplus
extern "C"
“#ifdef__cplusplusextern"C"{#endif”的定义看一些程序的时候老是有“#ifdef__cplusplusextern"C"{#endif”的定义,搞搞清楚是怎么回事:Microsoft-SpecificPredefinedMacros__cplusplusDefinedforC++programsonly.意思是说,如果是C++程序,就使用extern"C"{而这个东
Augusdi
·
2011-03-30 20:00
VS2005环境下生成静态lib库及调用方法
VS2005环境下生成静态lib库及调用方法生成lib方法: 步骤1:新建一个空项目,建一个头文件如Test.h #pragmaonce #ifdef__
cplusplus
老部长
·
2011-03-17 19:57
C++
VS2005
调用方法
休闲
静态lib库
小代码1
1.关于SIGTERM的signal函数调用//fflush是个让人隐藏的疏漏呢,郁闷只有如此/-----------------/REF:http://www.
cplusplus
.com/reference
Denny_233
·
2011-03-17 14:00
Signal
strftime()函数中的格式字符
time.h中的strftime函数用于把structtm转换为字符串输出,类似于printf,我们可以为其指定格式,下表是其使用的格式字符 来源:http://www.
cplusplus
.com/reference
daniel_h1986
·
2011-03-10 09:00
struct
关于#ifdef __
cplusplus
extern
:-) 时常在cpp的代码之中看到这样的代码:#ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endif 这样的代码到底是什么意思呢
huangtonggao
·
2011-03-07 22:00
c
汇编
面试
include
编译器
fun
list.h双循环链表的实现,拷贝自Linux内核(2.6.20.1)
*/#ifndef_LINUX_LIST_H#define_LINUX_LIST_H#ifdef__
cplusplus
/*使C++程序也能用。
su_guiyang
·
2011-03-06 22:25
linux
休闲
linux内核
list.h
双循环链表
list.h双循环链表的实现,拷贝自Linux内核(2.6.20.1)
*/#ifndef_LINUX_LIST_H#define_LINUX_LIST_H#ifdef__
cplusplus
/*使C++程序也能用。*/extern"C"{#endif#if!
su_guiyang
·
2011-03-06 22:25
linux
Linux内核
休闲
C程序设计
extern "C"
时常在cpp的代码之中看到这样的代码: #ifdef__
cplusplus
extern"C"{ #endif //一段代码 #ifdef__
cplusplus
} #endif这样的代码到底是什么意思呢
eric491179912
·
2011-02-19 21:00
c
汇编
gcc
reference
编译器
perl学习笔记十一-----模块
例如 useCwd位置随便放,不过就像C语言中一样最好是放在程序的最开始.对模块中某个函数的引用 $MODULE_NAME::FUNCTION_NAME 例如$file::copy 这个有点类似于
Cplusplus
OLillian
·
2011-02-17 11:00
c
function
Module
File
perl
语言
一些有用的资源
/www.caiwubbs.net/forum-forumdisplay-fid-72-filter-typeid-typeid-157.html c++的一些函数查询 http://www.
cplusplus
vaqeteart
·
2011-02-15 16:00
html
.net
Excel
VBA
再现低级错误,该打!
#ifdef__
cplusplus
}#endif 看着好像没有啥错误,其实应该是extern"C"(大写C),该打!
fingding
·
2011-01-30 11:00
C++ 中引用C extern "C" 的用法
ifndefcExample_H_#definecExample_H_#ifdef__cplusplusextern"C"{#endifintaddNumber(inta,intb);#ifdef__
cplusplus
robertkun
·
2011-01-15 09:00
C++
c
extern "C"
时常在cpp的代码之中看到这样的代码: #ifdef__cplusplusextern"C"{#endif//一段代码#ifdef__
cplusplus
}#endifintf(void){return1
tracyjk
·
2011-01-13 09:00
C++ 标准库的 locale 类用法
参考:
cplusplus
.com上关于标准C++中国际化支持的参考:LocalizationlibraryLocaleclassTheC++StandardLibrary(NicolaiM.Josuttis
wallaceli1981
·
2011-01-04 23:00
C++
windows
String
终端
localization
C语言中预定义的变量
_
cplusplus
变量只
cheng330301560
·
2011-01-01 21:00
C++
c
C#
探索C++的秘密之详解extern "C"
时常在cpp的代码之中看到这样的代码:1、 #ifdef__
cplusplus
2、 extern"C"{3、 #endif4、 5、 //一段代码6、 7、 #ifdef__
cplusplus
8
rznice
·
2011-01-01 13:00
C++项目中的extern "C" {}
在用C++的项目源码中,经常会不可避免的会看到下面的代码:1#ifdef__
cplusplus
2extern"C"{ 3#endif 4 5/*...*/6 7#ifdef__
cplusplus
rznice
·
2011-01-01 12:00
C++
c
header
语言
编译器
Signal
__
cplusplus
的用处
Aprilgogo 发表日期: 2007-03-10 16:26 复制链接 经常在/usr/include目录下看到这种字句: Code: #ifdef __
cplusplus
sealbird
·
2010-12-29 14:00
html
C++
c
C#
Blog
#ifdef __
cplusplus
深度剖析
时常在cpp的代码之中看到这样的代码: #ifdef __
cplusplus
extern "C" { #endif //一段代码
sealbird
·
2010-12-29 14:00
C++
c
C#
gcc
F#
C宏定义的小结
实现代码实例 程序代码: #include <stdio.h> #include <stdlib.h> #include <sys/types.h> /*****
cplusplus
snake_hand
·
2010-12-28 17:00
小结
C宏定义的小结
实现代码实例 程序代码: #include <stdio.h> #include <stdlib.h> #include <sys/types.h> /*****
cplusplus
webcenterol
·
2010-12-28 17:00
小结
C宏定义的小结
实现代码实例 程序代码:#include#include#include/*****
cplusplus
*****/#if0#includeusingnamespacestd;#endif//得到指定地址上的一个字节或字
sunboy_2050
·
2010-12-28 17:00
c
Date
struct
File
byte
hex
C宏定义的小结
实现代码实例 程序代码: #include <stdio.h> #include <stdlib.h> #include <sys/types.h> /*****
cplusplus
king_tt
·
2010-12-28 17:00
小结
上一页
34
35
36
37
38
39
40
41
下一页
按字母分类:
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
其他