Как подключить и воспользоваться библиотекой graphics.h - C (СИ)

Узнай цену своей работы

Формулировка задачи:

Как подключить и воспользоваться библиотекой graphics.h в программе code blocks на языке Си?

Решение задачи: «Как подключить и воспользоваться библиотекой graphics.h»

textual
Листинг программы
Êîìïèëÿòîð: Default compiler
Âûïîëíåíèå  gcc.exe...
gcc.exe "C:\Dev-Cpp\bin\TEST.c" -o "C:\Dev-Cpp\bin\TEST.exe"    -I"C:\Dev-Cpp\include"   -L"C:\Dev-Cpp\lib" C:\Dev-Cpp\lib\libws2_32.a C:\Dev-Cpp\lib\libuser32.a 
In file included from C:\Dev-Cpp\bin\TEST.c:1:

C:/Dev-Cpp/include/graphics.h:8:20: jview.h: No such file or directory
In file included from C:\Dev-Cpp\bin\TEST.c:1:
C:/Dev-Cpp/include/graphics.h:10: error: syntax error before "Graphics"
C:/Dev-Cpp/include/graphics.h:10: error: syntax error before '{' token
C:/Dev-Cpp/include/graphics.h:14: error: syntax error before "clr"
C:/Dev-Cpp/include/graphics.h:18: error: syntax error before "clr"
C:/Dev-Cpp/include/graphics.h:20: error: syntax error before ':' token
C:/Dev-Cpp/include/graphics.h:24: error: syntax error before '*' token
C:/Dev-Cpp/include/graphics.h:24: warning: data definition has no type or storage class
C:/Dev-Cpp/include/graphics.h:26: error: syntax error before "oldreg"
C:/Dev-Cpp/include/graphics.h:26: warning: data definition has no type or storage class
C:/Dev-Cpp/include/graphics.h:27: error: syntax error before "newreg"
C:/Dev-Cpp/include/graphics.h:27: warning: data definition has no type or storage class
C:/Dev-Cpp/include/graphics.h:29: error: syntax error before "backColor"
C:/Dev-Cpp/include/graphics.h:29: warning: data definition has no type or storage class
C:/Dev-Cpp/include/graphics.h:30: error: syntax error before "foreColor"
C:/Dev-Cpp/include/graphics.h:30: warning: data definition has no type or storage class

C:/Dev-Cpp/include/graphics.h:32: error: syntax error before ':' token
C:/Dev-Cpp/include/graphics.h:42: warning: data definition has no type or storage class
C:/Dev-Cpp/include/graphics.h:43: error: syntax error before "bg"
C:/Dev-Cpp/include/graphics.h:43: warning: data definition has no type or storage class
C:/Dev-Cpp/include/graphics.h:45: error: syntax error before "xclr"
C:/Dev-Cpp/include/graphics.h:45: warning: data definition has no type or storage class
C:/Dev-Cpp/include/graphics.h:48: warning: built-in function 'y0' declared as non-function
C:/Dev-Cpp/include/graphics.h:50: error: syntax error before '}' token

C:/Dev-Cpp/include/graphics.h:52:41: warning: no newline at end of file

ИИ поможет Вам:


  • решить любую задачу по программированию
  • объяснить код
  • расставить комментарии в коде
  • и т.д
Попробуйте бесплатно

Оцени полезность:

8   голосов , оценка 3.75 из 5