When I write a program containing delay the compiler shows the error E:\c programms\ma.o:ma.c|| undefined reference to `delay'| ||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
Try including windows.h
and use Sleep(sleep_for_x_milliseconds)
instead of delay()
– Cool Guy