Posted in 面试题 onAugust 04, 2013
答案:
#ifdef __cplusplus
cout
#else
cout
#endif
如何判断一段程序是由C 编译程序还是由C++编译程序编译的
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Tags in this post...
如何使用PHP session
Apr 21
面试题
String是最基本的数据类型吗?
Jun 13
面试题
枚举和一组预处理的#define有什么不同
Sep 21
面试题
C++:memset ,memcpy和strcpy的根本区别
Apr 27
面试题
利用指针变量实现队列的入队操作
Apr 07
面试题
DBA数据库管理员JAVA程序员架构师必看
Feb 07
面试题
What's the difference between an interface and abstract class? (接口与抽象类有什么区别)
Oct 29
面试题
Linux如何命名文件--使用文件名时应注意
May 29
面试题
软件生产职位结构化面试主要考察要素及面试题库
Jun 12
面试题
线程问题:wait()方法是定义在哪个类里面
Jul 07
面试题
Reply on: @reply_date@
@reply_contents@