以下私は非常にシンプルだと思うが、何らかの理由でエラーが発生したため、コードを残しましたsavedMap.c:20:warning:暗黙の関数 'fPrintf' 。コードは次のとおりです。Cのファイルに書き込む
#include "Structures.h"
#include "main.h"
#include <stdio.h>
#include <stdlib.h>
void populateFile() {
printf("The method is being called");
FILE *f = fopen("tempMap.txt", "w");
if(f == NULL) {
printf("The tempMap file could not be found, please ensure the file is present.");
}
const char *text = mapFirstLine;
fPrintf(f, "Some text", text);
}
'fPrintf'が存在しません。 'fprintf'は行います。 –
警告:_implicit関数の宣言は常にエラーとみなされます_ –
問題が解決した場合は、それを回答済みとマークします。 [回答を解決策としてマークする方法とその理由](http://meta.stackexchange.com/a/5235/285305) –