簡體   English   中英

graphics.h的編譯存在錯誤

[英]there is an error with compilation of graphics.h

我下載了DevC ++的頭文件和庫文件。 將正確的內容放置在正確的位置后,使用graphics.h編譯時會出錯。 -好吧,這是我復制的錯誤

" 302   27  C:\Program Files (x86)\Dev-Cpp\MinGW64\include\graphics.h   [Note] 'int right' previously declared here"

void printimage(
    const char* title=NULL, 
    double width_inches=7, double border_left_inches=0.75, double border_top_inches=0.75,
    int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX,
    bool active=true, HWND hwnd=NULL
    );

您要兩次聲明一個具有相同名稱(右)的整數,彼此緊接着:

int right=0, int right=INT_MAX

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM