开发c + +中的错误,我正在用C编程语言编写. [英] Error in dev c++, I'm writing in C programming language.
本文介绍了开发c + +中的错误,我正在用C编程语言编写.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
制作一个基本程序,我对为什么我的错误记录很感兴趣.
Make a basic program and I''m interested in why my error logs.
cc1.exe C: \ + + Work \ project1 \ cc1.exe unrecognized command line option "-fdollar-in-identifiers"
我报告了此错误.
这是我编写的代码:
I reported this error.
This is the code that I write:
#include <stdio.h>
int main(){
int fahr, celsius;
int lower, upper, step;
lower=0;
upper=300;
step=20;
fahr=lower;
while(fahr<=upper){
celsius=5* (fahr-32)/9;
printf("%d\t%d\n", fahr, celsius);
fahr=fahr+step;
system("PAUSE");
return 0;
}
推荐答案
cc1编译器 [ ^ ](它们在GNU
编译器中看起来已过时选项,例如,请参见^ ]).
The options you are passing are NOT supported by the cc1 compiler[^] (they look obsolete options of the GNU
compiler, see, for instance, here[^]).
您错过了代码末尾的最后一个}}".但是您遇到的错误并非来自源代码.
You missed the last ''}'' at the end of the code. But the error you met was not from the source code.
这篇关于开发c + +中的错误,我正在用C编程语言编写.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文