fork download
  1. Enable desktop notifications for SVERIs, College of Engineering Pandharpur Mail.
  2. OK No thanks
  3.  
  4. Conversations
  5. Using 0.45 GB
  6. Program Policies
  7. Powered by Google
  8. Last account activity: 1 minute ago
  9. Details
  10.  
  11. #include<stdio.h>
  12. #include<conio.h>
  13. #include<graphics.h>
  14. void main()
  15. {
  16. int gd=DETECT,gm,i;
  17. initgraph(&gd,&gm,"..\\bgi");
  18. //int i;
  19. line(0,280,500,280);
  20. line(0,280,500,280);
  21. for(i=500;i>=0;i--)
  22. {
  23. cleardevice();
  24.  
  25. circle(200+i,250,30); //front_tyre
  26. circle(400+i,250,30); //rear_tyre
  27. line(240+i,250,360+i,250);//centralguard
  28. arc(200+i,250,0,180,40);//front_tyre_guard
  29. arc(400+i,250,0,180,40);//back_tyre_guard
  30. line(440+i,250,470+i,250);
  31. line(470+i,250,470+i,180);//backside
  32. line(130+i,250,160+i,250);//frontguard
  33. line(130+i,250,130+i,210);
  34. line(130+i,210,170+i,180);
  35. //line(170+i,180,470+i,180);//central_line
  36. line(170+i,180,200+i,180);//engine
  37. line(200+i,180,255+i,125);//windshield
  38. line(255+i,125,400+i,125);//roof
  39. line(400+i,125,470+i,180);//backwindshield
  40. line(215+i,180,255+i,140);
  41. line(215+i,180,320+i,180);
  42. line(320+i,180,320+i,140);
  43. line(320+i,140,255+i,140);
  44. line(350+i,180,450+i,180);
  45. line(350+i,180,350+i,140);
  46. line(350+i,140,395+i,140);
  47. line(395+i,140,450+i,180);
  48. line(0,280,600+i,280);
  49. delay(10);
  50. }
  51.  
  52. getch();
  53. closegraph();
  54. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:1: error: unknown type name ‘Enable’; did you mean ‘double’?
 Enable desktop notifications for SVERIs, College of Engineering Pandharpur Mail.
 ^~~~~~
 double
prog.c:1:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘notifications’
 Enable desktop notifications for SVERIs, College of Engineering Pandharpur Mail.
                ^~~~~~~~~~~~~
In file included from /usr/include/stdio.h:43,
                 from prog.c:11:
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:95:3: error: unknown type name ‘size_t’
   size_t __pad5;
   ^~~~~~
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:98:67: error: ‘size_t’ undeclared here (not in a function)
   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
                                                                   ^~~~~~
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:98:67: note: ‘size_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’?
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:1:1:
+#include <stddef.h>
 /* Copyright (C) 1991-2019 Free Software Foundation, Inc.
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:98:67:
   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
                                                                   ^~~~~~
In file included from prog.c:11:
/usr/include/stdio.h:309:20: error: expected declaration specifiers or ‘...’ before ‘size_t’
       int __modes, size_t __n) __THROW;
                    ^~~~~~
/usr/include/stdio.h:354:44: error: expected declaration specifiers or ‘...’ before ‘size_t’
 extern int snprintf (char *__restrict __s, size_t __maxlen,
                                            ^~~~~~
/usr/include/stdio.h:358:45: error: expected declaration specifiers or ‘...’ before ‘size_t’
 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
                                             ^~~~~~
/usr/include/stdio.h:646:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
 extern size_t fread (void *__restrict __ptr, size_t __size,
               ^~~~~
/usr/include/stdio.h:652:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’
 extern size_t fwrite (const void *__restrict __ptr, size_t __size,
               ^~~~~~
prog.c:12:9: fatal error: conio.h: No such file or directory
 #include<conio.h>
         ^~~~~~~~~
compilation terminated.
stdout
Standard output is empty