...
首页> 外文期刊>C - C++ Users Journal >Mixed-Language Programming & External Linkage
【24h】

Mixed-Language Programming & External Linkage

机译:混合语言编程和外部链接

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

It is common practice to call functions of a C library from a C++ program. This works out well as long as you restrict yourself to the standard headers and libraries that were supplied with the operating system. But novice programmers may stumble upon some link-time errors as soon as they try to call methods of their own C library from a C++ program. Potential reasons for such failures could include everything from unfamil-iarity with linkage specifications to how C/C++ compilers handle symbols during the compilation.
机译:通常的做法是从C ++程序调用C库的函数。只要将自己限制在操作系统随附的标准头文件和库中,此方法就可以很好地工作。但是,新手程序员尝试从C ++程序调用自己的C库的方法时,可能会偶然发现一些链接时错误。此类失败的潜在原因可能包括从不熟悉链接规范到C / C ++编译器在编译期间如何处理符号等所有方面。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号