gpt4 book ai didi

c - Eclipse kepler (Windows 8.1) 中 Unresolved inclusion :

转载 作者:太空宇宙 更新时间:2023-11-04 00:06:50 24 4
gpt4 key购买 nike

我知道这个问题已经被问了很多,但我不知道该怎么做,我不明白其他的回答。

我在 Linux 的 eclipse Kepler 中有这个 C 代码并且它有效,现在在 Windows 8.1 上有一个错误 "Unresolved inclusion: <stdio.h>"

我读到我必须在 Properties -> C/C++ General -> Path and Simbols 中放置一些路径

但 Windows 中的路径是什么?

附加信息:

当前工具链:跨 GCC

当前的构建器:GNU Make Builder

用过的工具:

         Cross GCC Compiler

Cross G++ Compiler

Cross GCC Linker

Cross G++ Linker

Cross GCC Archiver

Cross GCC Assembler

这是代码的图像(http://goo.gl/rX0yxZ),这是代码:

/*
* main.c
*/

#include <stdio.h>
//#include<unistd.h>
//#include<string.h>
#include<crc.h>

int main() {
crcInit();
int i;

FILE *pFile = fopen("C:\Users\Itamar\Documents\REDES\hex", "r");
if (!pFile) {
printf("Error abriendo el archivo");
}

fseek(pFile, 0, SEEK_END);
int size = ftell(pFILE);
fseek(pFile, 0, SEEK_SET);
printf("%i\n", size);
unsigned int ITA[size];
for (i = 0; i < size; i++) {
char value;
fread(&value,1,1, pFILE);
ITA[i] = (unsigned int) value;
}
fclose(pFile);
printf("CRCFast of ITA is: %X",crcFast2());
}

我迷失在这个问题上。

如果您需要更多信息,请告诉我。

提前致谢。

意大利

PD:抱歉我的英语不好

最佳答案

天哪,我的电脑里没有stdio.h,我忘了下载我认为是Eclipse做的库。 – 伊塔

关于c - Eclipse kepler (Windows 8.1) 中 Unresolved inclusion : <stdio. h>,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20581708/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com