【发布时间】:2012-10-05 06:24:04
【问题描述】:
我已经成功编译了我的代码,但它说的是:
注意:您也可以通过键入“run”和任何命令行参数来运行您的应用程序。 启动没有 args 的应用程序... 检查库... 正在复制文件... 正在处理文件... 正在编译... 无法压缩二进制文件! 应用程序退出。我希望我的代码让用户输入三个数字,中间有空格,然后让它们相乘,所以这是我的代码:
#include <stdio.h>
#include <stdlib.h>
int mult( int x, int y, int z) {
return x * y * z;
int main()
{
int x;
int y;
int z;
printf("Input two integers to be multiplied: ");
scanf("%d", &x);
scanf("%d", &y);
scanf("%d", &z);
printf("The product of the three numbers is %d\n", mult( x, y, z) );
getchar();
}
int mult (int x, int y, int z)
{
return x * y * z;
}
}
我使用compilr.com 作为我的开发平台。
【问题讨论】:
-
请添加平台和编译器信息。
-
@octopusgrabbus OP 已经声明他使用 compilr.com
-
@Bart 谢谢。很难找到。