首页
查找话题
首页
为什么C++的 extern "C" 里面可以使用C里面不存在的STL和引用&等C++才有的特性 ?
为什么C++的 extern "C" 里面可以使用C里面不存在的STL和引用&等C++才有的特性 ? 第1页
1
brglng 网友的相关建议:
extern "C" 只是告诉编译器,把这段代码编译成 C 语言可以调用的,而不是说里面只能用 C 的特性。
为什么C++的 extern "C" 里面可以使用C里面不存在的STL和引用&等C++才有的特性 ? 的其他答案 点击这里
1
相关话题
C# 虽然在语言层面上更胜 Java 一筹,但是这对于占有率真的很重要吗?
现在(2021年)OSGi的发展前景如何?
为什么大多数的 C++ 的开源库都喜欢自己实现 string?
C语言开发单片机为什么大多数都采用全局变量的形式?
在不使用奇淫怪技的情况下, 如何写出比 STL 快的 vector?
如果有两颗药丸,一颗吃了让你写代码100%不出错,另一颗吃了能让你100%发现并修改bug,选哪颗?
如何通俗易懂解释 Java 语言所谓「一次编写,到处运行」的特性?
有不少人鼓吹中文编程,这些人都是骗子吧?
掌握很多门计算机语言的人不会记串吗?
如果一门编程语言中不允许对象(或结构体)循环引用,那么用它实现什么功能会比较困难?
前一个讨论
如果吃了腐烂的肉会有什么后果?
下一个讨论
买个几千块钱的耳机算是智商税吗?
相关的话题
如何看待中科院计算所发布的“木兰”国产编程语言其实基于Python3,并非完成“自主研发”?
C++的new操作符,底层使用的是malloc吗,在析构时,是如何确定自己需要释放内存的大小的?
全世界有上千种编程语言,为什么程序员都只学习那几个主流语言?
C++ 的常量后缀在什么情况下使用?
如何用 C 语言画「心形」?
C++编译器能不能弃用指针,只允许用引用?
LeetCode上 C++ 官方题解为什么有很多没有写delete,不会内存泄漏么?面试时也可以么?
假如我写出了一种秒杀之前所有编程语言各种性能的语言会怎么样?
如何系统地测试一门语言(规定工具链,运行时,以及运行环境)的性能?
MFC、WTL、WPF、wxWidgets、Qt、GTK 各有什么特点?
一个程序员多年累计编写一百万行代码是什么体验?
为什么程序都要用英文写,中文不行吗?
程序员做到什么程度才不会被算作 API caller?
如果有两颗药丸,一颗吃了让你写代码100%不出错,另一颗吃了能让你100%发现并修改bug,选哪颗?
关于C/C++编译器,有哪些是有中文报错的吗?
华为方舟编译器原理已公布,应当如何看待?
一门编程语言,先将代码编译为C,再由C编译器编译为可执行文件,是否可行?
左移40位为什么不能写成1<<40ll?
Python 有哪些好的学习资料或者博客?
站在 2020 年回看,如何评价 Python 2 到 3 的升级?
如果一定要在C++和JAVA中选择,是C++还是java?
C++的CRTP所带来的静态多态功能具体有什么用?
为什么大多数的 C++ 的开源库都喜欢自己实现 string?
汉语编程是不是动了谁的奶酪,为什么招黑?
怎样用c语言画一个"三维的球体"?
多核CPU中,利用多线程进行排序中出现了一些奇怪的现象,不知道其背后的原因是什么,希望有人能给予解答?
一行 Java 代码(以分号结束)能实现什么丧心病狂的功能?
C++ 有提供像是 C 中 realloc() 这样的函数的新版本吗?
现在快2022年了,c++为什么还要实现(.cpp)和声明(.h)分开?
为什么编程语言有这么多种类?为什么不统一成一种语言呢?
服务条款
联系我们
关于我们
隐私政策
© 2024-09-19 - tinynew.org. All Rights Reserved.
© 2024-09-19 - tinynew.org. 保留所有权利