delay error

1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <dos.h>

void main()
{
	 printf("1");
	 delay(1000);
	 printf("2");
	 delay(1000);
}


and it says
Compiling NONAME00.CPP:
Error NONAME00.CPP 9: Call to undefined function 'delay' in function main()

can you help me what;s wrong???
The linker can not find definition of function delay. That is all. Check whether the function declared in dos.h and whether the corresponding library is included in the project.
can you help me how to fix it???
dos.h is a non-standard header. First of all check whether the declaration of delay is included in this header.
I am sorry but I do not see any reference.
wew.. T_T ok tnx for the help
Topic archived. No new replies allowed.