Dev C++ ld 返回 1 个退出状态C 语言

问题描述

我开始学习 C 编程课程。我在上第 2 课,我很新。我已经做了一切 当然是真的,但我的程序总是出现这些错误

"C:\Users\Win10\Desktop\C\collect2.exe  [Error] ld returned 1 exit status"
"C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\ld.exe   cannot open output file C:\Users\Win10\Desktop\C\main.exe: Permission denied".

我使用的是 Dev C++。

#include <stdio.h>
#include <conio.h>

/* run this program using the console pauser or add your own getch,system("pause") or input loop */

int main() {
    getch(); //gereksiz yazıları siler
    printf("Hello Programmer...\n");
    int x = 12;
    float e = 12.3;
    char h = 'e';
    printf("%c",h);
    return 0;    
}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)