马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 薰衣草的味道 于 2016-9-20 20:40 编辑 [code]#include <stdio.h>
#include <math.h>
void main()
{
double x, s;
printf("input number:\n");
scanf("%1f", &x);
s = sin(x);
printf("sin of %1f is %1f\n", x, s);
}
[/code]
--------------------Configuration: QAQ - Win32 Debug--------------------
Compiling...
Error spawning cl.exe
QAQ.OBJ - 1 error(s), 0 warning
---------------------------------------------------------------------------------------------------------------
我用的是VC++6.0啦 |