编译中遇到问题

yap111 2005-10-20 12:53:13
我现在用DEV-C++写些简单程序,但是编译时总遇到这样的结果,请问这是什么意思啊
cc1plus.exe D:\自学\vc\cc1plus.exe unrecognized command line option "-fsave-memoized"
...全文
117 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
yap111 2005-10-21
  • 打赏
  • 举报
回复
谢谢帮忙
why25 2005-10-20
  • 打赏
  • 举报
回复
用什么编译器
要是用DEV-C++的话
#include<iostream.h>
改成
#include <iostream>
using namespace std;
VC的话,不加也没关系~
yap111 2005-10-20
  • 打赏
  • 举报
回复

我的简单测试程序:
#include<iostream.h>
main()
{ int a;
cin>>a;
cout<<a;
getchar();
getchar();
}
编译时警告,我不知还要在哪设置什么,把我气死了,请高手们指点
#warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wnodeprecated.
wylove 2005-10-20
  • 打赏
  • 举报
回复
把make.conf中的CXXFLAGS+= -fmemoize-lookups -fsave-memoized行注释掉试试
rainycareless 2005-10-20
  • 打赏
  • 举报
回复
google到的dd
http://www.freebsdchina.org/forum/viewtopic.php?t=18826&view=previous&sid=2d65dec8f9c6a399d8916dc751e1ab0e

64,682

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧