#include <math.h>
#include <stdlib.h>
#include "snipmath.h"
#include <stdio.h>
#include "prec.h"
#include <mpir.h>
#include <mpfr.h>
我在我的項目在Visual Studio中有一個.c
文件,我已經包含上述頭文件。除prec.h
行外,所有標題都沒有錯誤。我曾嘗試將其路徑包含在「其他包含目錄」中。爲什麼不能打開這個特定的源文件?無法打開頭文件
請問您的帳戶有權讀它? – alk
顯示什麼錯誤? prec.h文件是否存在?如果是在哪個目錄?在哪個目錄是snipmath.h? –
是的,它確實存在。 prec.h和snipmath.h都在同一個目錄中。顯示的錯誤是:無法打開源文件 – user3306419