c - "Failed to zip binaries"是什么意思?

标签 c binaries

我已经成功编译了我的代码,但它是这样说的:

Note: You can also run your application by typing 'run' followed by any command line arguments.
Starting application without args...
Checking Libraries...
Copying files...
Processing Files...
Compiling...
Failed to zip binaries!

Application Exited.

I want my code to have the user enter three numbers, with spaces in between, and have them be multiplied, so here is my code:

#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作为我的开发平台。

最佳答案

您的代码包含语法错误。 mult定义了两次,大括号有问题。此外,如果您使用的是 C89,main 应该返回一个值。

关于c - "Failed to zip binaries"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12661775/

相关文章:

c++ - 如何从无符号变量写入和读取字节

linux - 在没有 Internet 访问权限且没有 root 的情况下部署 linux 二进制文件?

windows - 适用于 Windows 的 svn 客户端二进制文件

java - 为什么我收到警告(453) Cant apply (char *STRING, int LENGTH) no typemaps are Defined

c - linux getlogin() 内存泄漏

c - 在 IOCP 中发送数据的最佳方法是什么?

Python解压二进制数据,长度为12的数字

c# - 将字符串从 c# 传递到 c dll 时的错误行为

将 GNU C 编译为 C89